table_predictors {BlanketStatsments}R Documentation

Table model predictor performance

Description

Extract coefficients and p-values only for regression models and table them

Usage

table_predictors(df, model, predictors)

Arguments

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.

Value

data.frame with coefficients and p-values for predictor variables

Author(s)

J. Peter Marquardt

Examples

data <- survival::lung
mod <- build_reg_model(data, 'age', 'sex')
tbl <- table_predictors(data, mod, 'sex')


[Package BlanketStatsments version 0.1.2 Index]