rsa_modelcomp_tbl: RSA (vs. NULL) Model Comparison Table

Description Usage Arguments Value

View source: R/helper_functions.R

Description

This function extracts just the model comparison table from a fitted SRM RSA object.

Usage

1
2
3
4
rsa_modelcomp_tbl(
  fitted_srm_rsa,
  caption = "Comparing RSA to NULL (no Interaction or Polynomials) Model"
)

Arguments

fitted_srm_rsa

The fitted SRM RSA object from which you want the model comparison table.

caption

The caption for the table. Defaults to generic label.

Value

a wrapper for knitr::kable that extracts and tables the model comparison part of the SRM RSA output. Contains AIC, BIC, Chi-squared, difference in model Chi-Squared values, and the corresponding df and p value for the comparison.


Coryc3133/srmRsa documentation built on Dec. 31, 2020, 11:51 a.m.