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

Popular posts from this blog

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -