Learn R Programming

factorEx (version 1.1.0)

plot_decompose: Plot decomposition of the difference between pAMCEs

Description

See examples in `model_pAMCE`.

Usage

plot_decompose(x, effect_name, target_diff, mar = 12)

Value

No return value, called for side effects

Arguments

x

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.

mar

Space on the left side of the plot. Default is 12.