r - lrm function from rms package does not function -
i need cluster standard errors dyads, , trying use rms package. need fit model using lrm instrad of glm. when type library(rms)
following error:
error in loadnamespace(i, c(lib.loc, .libpaths()), versioncheck = vi[[i]]) : there no package called ‘mvtnorm’ error: package or namespace load failed ‘rms’,
and when try use following comand cluster standard errors dyads error function lrm not exist.
fit=lrm(disease ~ age + study + rcs(bmi,3), x=t, y=t, data=dataf) fit robcov(fit, cluster=dataf$id) bootcov(fit,cluster=dataf$id)
and know x=t
, y=t
are? have started working in r , statistics in general, none of quite obvious me.
Comments
Post a Comment