I tried looking for help but I couldn't locate the exact solution.
I have data that has several variables. I want to do several sample
simulations using only two of the variables (eg: say you have data between
people and properties owned. You only want to check how many in the samples
will come up with bicycles) to estimate probabilities and that sort of
thing.
Now, I can only do a simulation in terms of this code: sample(1:10, size =
15, replace = TRUE).
I do not know how select specific variables only. 
I'll appreciate the help

-- 
View this message in context: 
http://r.789695.n4.nabble.com/Simulation-tp3329173p3329173.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to