Take in the results of an SSM analysis function and create figure from it.
ssm_plot(.ssm_object, fontsize = 12, ...)
.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. |
A ggplot2 object representing the figure
ggsave Function for saving plots to image files.
Other ssm functions:
ssm_analyze()
,
ssm_append()
,
ssm_parameters()
,
ssm_score()
,
ssm_table()
# \donttest{ # 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) # }