extract_ermod {BayesERtools} | R Documentation |
Extract elements from an object of class ermod_*
Description
Extract elements from an object of class ermod_*
Usage
## S3 method for class 'ermod'
extract_data(x)
## S3 method for class 'ermod'
extract_mod(x)
## S3 method for class 'ermod'
extract_var_resp(x)
## S3 method for class 'ermod'
extract_var_exposure(x)
## S3 method for class 'ermod'
extract_var_cov(x)
## S3 method for class 'ermod_exp_sel'
extract_exp_sel_list_model(x)
## S3 method for class 'ermod_exp_sel'
extract_exp_sel_comp(x)
## S3 method for class 'ermod_cov_sel'
extract_var_selected(x)
Arguments
x |
An object of class |
Value
-
extract_data()
extracts data used for the model fit. -
extract_mod()
extracts the model fit object. -
extract_var_resp()
extracts the response variable name -
extract_var_exposure()
extracts the exposure metric name -
extract_var_cov()
extracts the covariates name -
extract_exp_sel_list_model()
extracts the list of fitted models for each exposure metrics. -
extract_exp_sel_comp()
extracts the comparison results of the exposure metrics. -
extract_var_selected()
extracts the selected variables (both exposure and covariates)in the final model after covariate selection.
[Package BayesERtools version 0.2.3 Index]