Displaying 1 result from an estimated 1 matches for "reglrm".
Did you mean:
reglm
2008 Feb 26
0
lrm error message
...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.
[[alternative HTML version deleted...