search for: regform

Displaying 1 result from an estimated 1 matches for "regform".

Did you mean: reform
2008 Feb 26
0
lrm error message
...39;m trying to learn how to use the lrm() function by simulating data using an old dataset but it's giving me an error I don't understand: (nst$regular already exists) nst$regular<-as.ordered(nst$regular) nst$age<-rnorm(n=942,mean=43.20488,sd=17.03) nst$age<-round(age,digits=0) regform<-regular~age reglrm<-lrm(regform,nst) summary(reglrm) Error in summary.Design(reglrm) : adjustment values not defined here or with datadist for age ive looked at the help file for lrm and thought it was simple enough but apparently not. any help would be greatly appreciated. [[alternat...