search for: r40398

Displaying 2 results from an estimated 2 matches for "r40398".

Did you mean: 140398
2007 Feb 21
1
Adding difftime objects to POSIXt objects
...linux-gnu system i686, linux-gnu status Under development (unstable) major 2 minor 5.0 year 2007 month 01 day 07 svn rev 40398 language R version.string R version 2.5.0 Under development (unstable) (2007-01-07 r40398) Jeff -- http://biostat.mc.vanderbilt.edu/JeffreyHorner
2007 Apr 03
1
Behavior of seq_along (was: Create a new var reflecting the order of subjects in existing var)
I am moving this from r-help to r-devel. Based on offline communications with Jim, suppose dat is defined as follows: set.seed(123) dat <- data.frame(ID= c(rep(1,2),rep(2,3), rep(3,3), rep(4,4), rep(5,5)), var1 =rnorm(17, 35,2), var2=runif(17,0,1)) # Then this ave call works as expected: ave(dat$ID, dat$ID, FUN = function(x) seq_along(x)) # but this apparently identical calculation