I have this snippet of code from an example in Dr. Harrel's book "Regression
Modeling Strategies" p 501

 

n<-2000

.Random.seed <-c(49,39,17,36,23,0,43,51,6,54,50,1)

age <-50 + 12 * rnorm(n)

age

 

I get the error message:  Error in rnorm(n) : .Random.seed[1] is NOT a valid
RNG kind (code)

 

I have tried this on Windows and Linux  R versions 1.8.1, 1.9.0, and 1.9.1

If I comment out the .Random.seed line and call set.seed(49),  set.seed(39)
etc before each call to a random generator function, everyone is HAPPY.

 

Does anyone have a suggestion?

 

 

Richard dot urbano At Vanderbilt dot edu


	[[alternative HTML version deleted]]


