Description Usage Arguments Value Author(s) Examples
View source: R/Blanket_statsments.R
Extract coefficients and p-values only for regression models and table them
1 | table_predictors(df, model, predictors)
|
df |
data.frame containing the data set. If evaluating independently, use the test set. |
model |
statistical model to be evaluated. |
predictors |
vector of characters designating columns of interest. Non-specified independent variables will not be included. |
data.frame with coefficients and p-values for predictor variables
J. Peter Marquardt
1 2 3 | data <- survival::lung
mod <- build_reg_model(data, 'age', 'sex')
tbl <- table_predictors(data, mod, 'sex')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.