model_summary: Short summary of the HLM Model

Description Usage Arguments Value

View source: R/model_summary.R

Description

Short summary of the HLM Model

Usage

1
2
3
4
5
model_summary(
  nlme_object,
  sig_threshold = 0.05,
  model_performance = c("R2_fixed_effect", "R2_full_model")
)

Arguments

nlme_object

lme object from 'nlme::lme'

sig_threshold

default 0.05. The significant column will show 'sig' in rows that are below the sig_threshold

model_performance

vector. default to c('R2_fixed_effect','R2_full_model'). 'R2_full_model' for conditional R^2. 'R2_fixed_effect' for marginal R^2. 'icc' for intraclass correlation coefficient. Used the 'performance::r2()' and 'performance::icc()' for model performance

Value

a dataframe with estimate, degree of freedom, p_value, and whether that p_value is significant


jasonmoy28/HLM_Model_R_Package documentation built on March 9, 2021, 3:05 p.m.