print.msm | R Documentation |
Print a fitted msm model object
## S3 method for class 'msm'
print(x, covariates = NULL, digits = 4, ...)
printnew.msm(x, covariates = NULL, digits = 4, ...)
x |
Output from |
covariates |
Covariates for which to print “baseline” transition
intensities or misclassification probabilities. See
|
digits |
Minimum number of significant digits, passed to
|
... |
Other arguments to be passed to |
This is the new method of formatting msm objects for printing. The old method was based on printing lists of matrices. That produced a lot of wasted space for parameters which were zero, and it was difficult to match corresponding numbers between matrices. The new method presents all the transition intensities and covariate effects as a single compact table, and likewise for misclassification matrices.
Also in the old method, covariate effects were presented as log hazard ratios or log odds ratios. The log scale is more convenient mathematically, but unnatural to interpret. The new method presents hazard ratios for covariates on transition intensities and odds ratios for misclassification probabilities.
printnew.msm
is an alias for print.msm
.
The object returned by print.msm
is a numeric matrix with one
column for each estimate or confidence limit for intensities and their
covariates, in the same arrangement as printed, but with the underlying
numbers in full precision. The results formatted for printing are stored in
the "formatted"
attribute of the object, as a character matrix.
These can alternatively be produced by msm.form.qoutput
, which
has no printing side-effect. msm.form.eoutput
produces the
same arrangement for misclassification probabilities instead of intensities.
C. H. Jackson chris.jackson@mrc-bsu.cam.ac.uk
msm
, printold.msm
,
msm.form.qoutput
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.