[R] Conditional Sampling

ehcpieterse eduard.pieterse at macquarie.com
Tue Jan 12 13:58:13 CET 2010


Hi,

I am hoping someone can help me with a sampling question.

I am using the following function to sample 10 unique observations: x <-
sample(1:100, 10, replace=F)
Given the first 10 observations, I need to sample another 5 unique
observations from the remainder. I essentially want to do a Monte Carlo type
analysis on the results.

I would appreciate any feedback.

Thanks
-- 
View this message in context: http://n4.nabble.com/Conditional-Sampling-tp1012072p1012072.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list