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.
Hi, you might not consider this more elegant, but how about this x[-apply(ind, 1, function(i) (i[1]-1)*nrow(x) + i[2])] Ben On 8/18/05, toka tokas <tokkass at yahoo.com> wrote: > Dear R-users...
I was hoping someone could help me to better understand the naPattern argument in the function gnls(). Unfortunately, there's no example using this argument provided in the help file. According to the gnls() help file, naPattern is "an expression...
You can try this: dates <- df$date[df$temp==15] one.month.before <- sapply(strsplit(dates, "-"), function(x) paste(x[1], sprintf("%02d", as.numeric(x[2])-1), x[3], sep="-")) df[df$date %in% one.month.before,] Ben On...
To get nice looking plots you can use trellis plots from the lattice package. First you need: library(lattice) Then you can define a custom panel function that will overlay the fitted curve on top of the data points in...
Can't find what you're looking for? Try searching with Google .