Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

8 results for “from:Crombie, Joe”

Identify and plotting symbols. [SEC=UNCLASSIFIED]
Crombie, Joe · Sep 19, 2007 · r-help

Rolf turner wrote: >I have been trying, unsuccessfully, to use identify() to (simply) >return a list of the indices of points clicked on and overplot (with >say a solid dot) each clicked-on point so that I can see where...

using apply to loop [SEC=UNCLASSIFIED]
Crombie, Joe · Dec 20, 2007 · r-help

Hi Louis, You could try this: # find the index of the maximum value in each row of _data_, # disregarding the last column classified <- apply(data[,-(nclass+1)],1,which.max) ## or, if the maximum may be repeated: classified <- apply(data...

Break [SEC=UNCLASSIFIED]
Crombie, Joe · Oct 7, 2007 · r-help

Hi, You can exit out of the 'identify()' routine by either: right-click > 'stop' Or click on 'stop > stop locator' in the top-left of the plot window. The script should continue with line1, line2 etc. Cheers Joe Joe Crombie...

partitioning data [SEC=UNCLASSIFIED]
Crombie, Joe · Oct 15, 2007 · r-help

Hi Stephen, Check the help for predict.glm(). The argument for passing new data is actually 'newdata', as in: > pred = predict(glm.model, newdata=form[150001:200000,-1], > type="response") Cheers Joe -----Original Message----- From: r-help-bounces at r...

Time series graphs, question about using zoo [SEC=UNCLASSIFIED]
Crombie, Joe · Sep 20, 2007 · r-help

Hi Fang, An easy way of doing this is by: > matplot(one, pch = LETTERS[1:4], type = 'b') Cheers Joe Joe Crombie Information and Risk Sciences Bureau of Rural Science Canberra Australia p: +61 2 6272 5906 e: joe.crombie...

Identify and plotting symbols. [SEC=UNCLASSIFIED]
Crombie, Joe · Sep 19, 2007 · r-help

Or maybe: > while(length(ind <- identify(x,y,n = 1, plot = F))) > points(x[ind], y[ind], pch = 19) (highlights each point as you select it, until you click _stop_) -----Original Message----- From: r-help-bounces at r-project.org...

vector sprintf argument [SEC=UNCLASSIFIED]
Crombie, Joe · Nov 29, 2007 · r-help

Hi Tom, Try this: > G <- "Number: %s" > sprintf(G, toString(A)) [1] "Number: 3, 4, 5" Cheers Joe Joe Crombie Biosecurity and Information Sciences Bureau of Rural Science Canberra Australia p: +61 2 6272 5906 e: joe.crombie at brs...

random walk w/ reflecting boundary: avoid control construct? [SEC=UNCLASSIFIED]
Crombie, Joe · Oct 24, 2007 · r-help

Hi Johannes, I came up with the following (assuming that if step[i] is independent of step[i-1] then it is also independent of -step[i-1]): Cheers Joe > # your (unbounded) random walk > k <- cumsum(c(0,sample(c...

Can't find what you're looking for? Try searching with Google .