Learn R Programming

factorEx (version 1.1.0)

plot.pAMCE: Plotting the estimated population AMCEs

Description

Plotting the estimated population AMCEs

Usage

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

Value

No return value, called for side effects

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