search for: ggtrack

Displaying 1 result from an estimated 1 matches for "ggtrack".

Did you mean: bugtrack
2009 May 28
2
Bug in base function sample ( ) (PR#13727)
...ingle number. I discovered that when R attempts to sample from an object with only one number it does not reproduce/report the number but instead chooses a random number between 1 and that number. Example 1: # I am assigning a single number gg <- 7 # Creating an array to store sampled values ggtrack <- 0 # I am sampling 10,000 observations from my single value # object and storing them for (i in 1:10000) { g0 <- sample(gg, (i/i)) ggtrack <- c(ggtrack,g0) } # Deleting the initial value in the array ggtrack <- ggtrack[-1] # The array ought to be 10,000 samples long (and it is) l...