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

2007-01-25 Thread Prof Brian Ripley
On Wed, 24 Jan 2007, Stephen D. Weigand wrote: On Jan 24, 2007, at 10:34 AM, Benjamin Otto wrote: 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

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

2007-01-24 Thread Stephen D. Weigand
On Jan 24, 2007, at 10:34 AM, Benjamin Otto wrote: 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