search for: samp6

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

Did you mean: samp
2010 May 23
2
Subsetting with a list of vectors
...26 plots from 'data' using 'samp'? samp3 <- sample(LETTERS, 7) samp4 <- subset(data, plot %in% samp3) # this works samp5 <- subset(data, plot %in% samp2[[1]]) # this works as well, but I used a for loop to get it to select 7 plots 100 times. for (i in nrow(samp2)) { samp6 <- subset(data, plot %in% samp2[[i]]) } # this doesn't work Am I missing something, or is there a better solution? Thanks. Kang Min