decompose_pAMCE: Decompose the difference between the pAMCEs

View source: R/decompose_pAMCE.R

decompose_pAMCER Documentation

Decompose the difference between the pAMCEs

Description

See examples in 'model_pAMCE'.

Usage

decompose_pAMCE(out, effect_name, target_diff)

Arguments

out

An object of class "pAMCE", a result of a call to 'model_pAMCE'.

effect_name

Effect for which the function decomposes the difference in the pAMCEs. The first element should be a factor name and the second element should be a level name.

target_diff

Two target profile distributions for which the function compares the pAMCEs. If missing, the function comapres the first target profile distribution and the in-sample profile distribution.

Value

decompose_pAMCE returns 'data.frame' showing the decomposition of the difference between the pAMCEs.


naoki-egami/factorEx documentation built on Oct. 8, 2022, 5:41 a.m.