ssm_plot_scores: Create a spider/radar plot of circumplex scores

View source: R/ssm_visualization.R

ssm_plot_scoresR Documentation

Create a spider/radar plot of circumplex scores

Description

Create a spider/radar plot of circumplex scores, either from a data frame containing scale scores or the result of ssm_analyze().

Usage

ssm_plot_scores(
  x,
  amin = NULL,
  amax = NULL,
  angle_labels = NULL,
  linewidth = 1,
  pointsize = 3,
  ...
)

Arguments

x

A dataframe or ssm result object.

amin

An optional number to set as the minimum amplitude (center of circle). If set to NULL, will try to detect a reasonable value.

amax

An optional number to set as the maximum amplitude (outer ring of circle). If set set to NULL, will try to detect a reasonable value.

angle_labels

An optional character vector to display outside the circle at each angle. Must be the same length as the number of angles.

linewidth

An optional width for the lines of the profile polygons.

pointsize

An optional size for the points at the scale scores.

...

Additional arguments for the S3 methods

Value

A spider/radar plot object


jmgirard/ssm documentation built on Aug. 30, 2023, 6:51 p.m.