View source: R/help_parameter_estimation_survival.R
| create_new_dataset | R Documentation | 
create new dataset while keeping cox regression results and returned coefficients
create_new_dataset(var, covar, dataset, categorical)
| var | variable for which the levels have to be identified usually indep variable | 
| covar | the other covariates | 
| dataset | the dataset where these variables contain | 
| categorical | are these variables categorical? True of false | 
new data frame
dataset <- survival::lung
new = create_new_dataset("status", c("age"), dataset, c(FALSE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.