plot_decompose: Plot decomposition of the difference between pAMCEs

View source: R/decompose_pAMCE.R

plot_decomposeR Documentation

Plot decomposition of the difference between pAMCEs

Description

See examples in 'model_pAMCE'.

Usage

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

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.

Value

No return value, called for side effects


factorEx documentation built on Nov. 28, 2025, 5:07 p.m.