| geom_ssm_point | R Documentation |
A ggplot2 layer that places a point for each profile at its amplitude
and displacement on a circumplex canvas built with coord_circumplex() (for
example the canvas from ggcircumplex()). The amplitude and displacement are
supplied directly in SSM units (amplitude in the score metric, displacement
in degrees); the coordinate system performs the polar transform.
geom_ssm_point(
mapping = NULL,
data = NULL,
stat = "identity",
position = "identity",
...,
amax = NULL,
na.rm = TRUE,
show.legend = NA,
inherit.aes = TRUE
)
mapping, data, stat, position, show.legend, inherit.aes, ... |
Standard
ggplot2 layer arguments. |
amax |
(Deprecated) The amplitude represented by
the outer ring is now owned by |
na.rm |
If |
A ggplot2 layer.
Other circumplex layers:
coord_circumplex(),
geom_ssm_arc(),
geom_ssm_ellipse(),
geom_ssm_path(),
ggcircumplex(),
scale_x_circumplex(),
theme_circumplex()
data("jz2017")
res <- ssm_analyze(jz2017, scales = 2:9, measures = "NARPD")
ggcircumplex(octants(), amax = 0.5) +
geom_ssm_point(
data = res$results,
mapping = ggplot2::aes(amplitude = a_est, displacement = d_est)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.