ssm_plot_contrast {circumplex}R Documentation

Create a Difference Plot of SSM Contrast Results

Description

Take in the results of a Structural Summary Method analysis with pairwise contrasts and plot the point and interval estimates for each parameter's contrast (e.g., between groups or measures).

Usage

ssm_plot_contrast(
  .ssm_object,
  axislabel = "Difference",
  xy = TRUE,
  color = "red",
  linesize = 1.25,
  fontsize = 12
)

Arguments

.ssm_object

Required. The results output of ssm_analyze.

axislabel

Optional. A string to label the y-axis (default = "Difference").

xy

A logical determining whether the X-Value and Y-Value parameters should be included in the plot (default = TRUE).

color

Optional. A string corresponding to the color of the point range (default = "red").

linesize

Optional. A positive number corresponding to the size of the point range elements in mm (default = 1.5).

fontsize

Optional. A positive number corresponding to the size of the axis labels, numbers, and facet headings in pt (default = 12).

Value

A ggplot variable containing difference point-ranges faceted by SSM parameter. An interval that does not contain the value of zero has p<.05.


[Package circumplex version 0.3.10 Index]