[R] sample from contingency table

Dirk F. Raetzel raetzel at Mathematik.Uni-Marburg.de
Tue Sep 19 18:47:39 CEST 2000


Hello,

I have a multivariate (dim >= 3) discrete distribution
given by a contingency table from which I want to draw independent
random samples. The result should be a data.frame (or array) with each
column representing a dimension.

Before starting to hack some search tree with approbiate
transformations: Is there any built-in function I
have overseen or did anybody program such a function already?

Dirk



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list