plot.pAMCE: Plotting the estimated population AMCEs

View source: R/plot_pAMCE.R

plot.pAMCER Documentation

Plotting the estimated population AMCEs

Description

Plotting the estimated population AMCEs

Usage

## S3 method for class 'pAMCE'
plot(
  x,
  factor_name,
  target_dist_name,
  legend_pos = "topright",
  main = "Estimated population AMCEs",
  xlim,
  mar = 12,
  diagnose = FALSE,
  ...
)

Arguments

x

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

factor_name

Factors for which the function visualizes the pAMCEs

target_dist_name

Names of the target profile distributions to be used

legend_pos

Position of the legend. Default is 'topright'

main

Title of the plot

xlim

Range for the x-axis

mar

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

diagnose

Whether we plot diagnostic checks recommended in de la Cuesta, Egami, and Imai (2019). Default is FALSE

...

Other graphical parameters

Value

No return value, called for side effects


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