Description Usage Arguments Value Examples
View source: R/help_parameter_estimation_survival.R
create new dataset while keeping cox regression results and returned coefficients
1 | 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
1 2 | 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.