linPred | R Documentation |
A function which created a linear predictor from a model and an external dataset. If required, linear predictors will be provided on the response scale. For a survival outcome, this will take the form of median survival estimates.
linPred(DC_clean, resp = FALSE)
DC_clean |
a cleaned data obhject created using dataComb() |
resp |
detailing whether the linear predictor shoudl be returned on the natural or response level. Defaults to the natural scale (resp=F) |
A function which combines the data from the data cohort against the model parameters of the PSC
Extracts the linear predictor from a object containing both a counter factual model and a data cohort which is created using the dataComb() fucntion.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.