Description Usage Arguments Details Value
View source: R/IMR-find_data.R
An internal generic method for extracting fitted response and standerdize residuals.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | find_data(m)
## Default S3 method:
find_data(m)
## S3 method for class 'lm'
find_data(m)
## S3 method for class 'glm'
find_data(m)
## S3 method for class 'coxph'
find_data(m)
## S3 method for class 'aalen'
find_data(m)
## S3 method for class 'timecox'
find_data(m)
## S3 method for class 'cox.aalen'
find_data(m)
## S3 method for class 'aareg'
find_data(m)
|
m |
a model object |
This function finds the relevant model data and returns it in a suitable
manner to the IMR
function.
a list with the following three entries
the fitted values of the model. In hazard models this is the time points corresponding to observed events.
a list with the raw and standerdized residuals. In hazard models this is the standerdized residuals found when fitting a line through the estimated cumulative hazard.
a ("short") string describing the model. This value will be used as the model name in the final output.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.