Re: [R] help on setting boundaries for generating random numbers

2012-09-01 Thread peter dalgaard
On Sep 1, 2012, at 19:20 , Petr Savicky wrote: > On Sat, Sep 01, 2012 at 02:29:40AM -0700, Andras Farkas wrote: >> Dear All, >> ? >> is there a way to set low and high limits to a simulation with rlnorm()? >> ? >> as an example: >> ?a <-rlnorm(500,0.7,1) >> ? >> ? >> I get the summary of >> ? >>

Re: [R] help on setting boundaries for generating random numbers

2012-09-01 Thread Petr Savicky
On Sat, Sep 01, 2012 at 02:29:40AM -0700, Andras Farkas wrote: > Dear All, > ? > is there a way to set low and high limits to a simulation with rlnorm()? > ? > as an example: > ?a <-rlnorm(500,0.7,1) > ? > ? > I get the summary of > ? > Min. 1st Qu. MedianMean 3rd Qu.Max. 0.1175 1.0590

Re: [R] help on setting boundaries for generating random numbers

2012-09-01 Thread arun
; Cc: Sent: Saturday, September 1, 2012 5:29 AM Subject: [R] help on setting boundaries for generating random numbers Dear All,   is there a way to set low and high limits to a simulation with rlnorm()?   as an example:  a <-rlnorm(500,0.7,1)     I get the summary of   Min. 1st Qu.  Median

[R] help on setting boundaries for generating random numbers

2012-09-01 Thread Andras Farkas
Dear All,   is there a way to set low and high limits to a simulation with rlnorm()?   as an example:  a <-rlnorm(500,0.7,1)     I get the summary of   Min. 1st Qu. MedianMean 3rd Qu.Max. 0.1175 1.0590 2.1270 3.4870 4.0260 45.3800 I would like to set limits so that the simulated