[R] Fit model to data and use model for data generation

Benjamin Otto b.otto at uke.uni-hamburg.de
Wed Jan 24 17:34:45 CET 2007


Hi,

Suppose I have a set of values x and I want to calculate the distribution of
the data. Ususally I would use the "density" command. Now, can I use the
resulting "density-object" model to generate a number of new values which
have the same distribution? Or do I have to use some different function?

Regards,

Benjamin

-- 
Benjamin Otto
Universitaetsklinikum Eppendorf Hamburg
Institut fuer Klinische Chemie
Martinistrasse 52
20246 Hamburg



More information about the R-help mailing list