Learn R Programming

factorEx (version 1.1.0)

decompose_pAMCE: Decompose the difference between the pAMCEs

Description

See examples in `model_pAMCE`.

Usage

decompose_pAMCE(out, effect_name, target_diff)

Value

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

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.