format_results: Format results to plot them together

Description Usage Arguments Details Value

View source: R/format_results.R

Description

Function format_results creates an object of class multi_CI to plot different confidence intervals for mixed effects together

Usage

1
format_results(x, y, z, type = c("regular", "corrected", "both"))

Arguments

x

An object of class naive_CI

y

An object of class postcAIC_CI

z

An object of class postOBSP_CI

type

Type of naive CI (using first order, second order or both MSE estimators)

Details

The output changes slightly depending on the value of the parameter type. If type = "regular", naive second-order correct CIs are not present. If type = "corrected", naive first-order correct CIS are not present. If type = "both", naive first- and second-order correct CIs are present.

Value

List with elements:

mixed_postcAIC_CI_up

Upper boundary of CI for mixed effects

mixed_postcAIC_CI_do

Lower boundary of CI for mixed effects

postOBSP_up

Upper boundary of CI for mixed effects

postOBSP_do

Lower boundary of CI for mixed effects

mixed_naive_CI_corrected_up

Upper boundary of naive CI for mixed effects with the second order MSE

mixed_naive_CI_corrected_do

Lower boundary of naive CI for mixed effects with the second order MSE

mixed_naive_CI_up

Upper boundary of naive CI for mixed effects with the first order MSE

mixed_naive_CI_do

Lower boundary of naive CI for mixed effects with the first order MSE


KatarzynaReluga/postcAIC documentation built on Jan. 25, 2022, 12:33 a.m.