ssm_plot {circumplex} | R Documentation |
Create a figure from SSM results
Description
Take in the results of an SSM analysis function and create figure from it.
Usage
ssm_plot(.ssm_object, fontsize = 12, ...)
Arguments
.ssm_object |
Required. The results output of |
fontsize |
Optional. A single positive number indicating the font size of text in the figure, in points (default = 12). |
... |
Additional arguments to pass on to the plotting function. |
Value
A ggplot2 object representing the figure
See Also
ggsave Function for saving plots to image files.
Other ssm functions:
ssm_analyze()
,
ssm_append()
,
ssm_parameters()
,
ssm_score()
,
ssm_table()
Examples
# Load example data
data("jz2017")
# Plot profile results
res <- ssm_analyze(jz2017,
scales = PA:NO, angles = octants(),
measures = c(NARPD, ASPD)
)
p <- ssm_plot(res)
# Plot contrast results
res <- ssm_analyze(jz2017,
scales = PA:NO, angles = octants(),
measures = c(NARPD, ASPD), contrast = "test"
)
p <- ssm_plot(res)
[Package circumplex version 0.3.10 Index]