Displaying 2 results from an estimated 2 matches for "coxphfit".
2012 Jun 29
1
predicting expected number of events using a coxph model
I fit a coxph model:
coxphfit <- coxph(Surv(sampledLifetime, !sampledCensoredQ) ~ curpbc6 +
prevpbc6, sampledTimeSeries)
Now I'm trying to predict the expected number of events using a new dataset.
The documentation suggests that
coxPred <- predict(coxphfit, newdata = testTimeSeries, type="expected")
w...
2013 Apr 19
2
NAMESPACE and imports
...here is a latex method in the Hmisc package, and rms has a
latex method for objects of class "anova.rms" so there are anova.rms and
latex.anova.rms functions in rms. I use:
export(asis,bj,bjplot,bootBCa,bootcov,bootplot,bplot,calibrate,cph,catg,combineRelatedPredictors,confplot,contrast,coxphFit,cph,cr.setup,datadist,effective.df,fastbw,formatNP,gendata,gIndex,GiniMd,Glm,Gls,groupkm,Hazard,hazard.ratio.plot,histdensity,"%ia%",ie.setup,interactions.containing,legend.nomabbrev,lm.pfit,lrm,lrtest,lsp,matinv,matrx,Newlabels,Newlevels,nomogram,num.intercepts,ols,ols.influence,oos.logl...