Re: [R] Runif Help: same variable, 3 different parameters

2010-12-05 Thread pythonomics
Cheers Dieter. You are a true bro. -- View this message in context: http://r.789695.n4.nabble.com/Runif-Help-same-variable-3-different-parameters-tp3073894p3074041.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org m

[R] Runif Help: same variable, 3 different parameters

2010-12-05 Thread pythonomics
So I am working on an economic model and I need to change the parameters of the runif statement as time goes on. Ex. X <-runif(1:50,0,5) X <-runif(51:100,100,150) X <-runif(100:T, 1,2) Not sure how to go about entering this in to R properly. -- View this message in context: http://r.789695.n4

[R] Runif Help: same variable, 3 different parameters

2010-12-05 Thread pythonomics
So I am working on an economic model and I need to change the parameters of the runif statement as time goes on. Ex. X <-runif(1:50,0,5) X <-runif(51:100,100,150) X <-runif(100:T, 1,2) Not sure how to go about entering this in to R properly. -- View this message in context: http://r.789695.n4