ssm_score | R Documentation |
Calculate the SSM parameters for each row of a data frame and add the results as additional columns. This can be useful when the SSM is being used for the description or visualization of individual data points rather than for statistical inference on groups of data points.
ssm_score(data, scales, angles = octants(), append = TRUE, ...)
data |
Required. A data frame containing at least circumplex scales. |
scales |
Required. The variable names or column numbers for the
variables in |
angles |
Required. A numeric vector containing the angular displacement
of each circumplex scale included in |
append |
Optional. A logical indicating whether to append the output to
|
... |
Optional. Additional parameters to pass to
|
A data frame containing .data
plus six additional columns
containing the SSM parameters (calculated rowwise).
Other ssm functions:
ssm_analyze()
,
ssm_parameters()
,
ssm_table()
Other analysis functions:
ssm_analyze()
,
ssm_parameters()
data("aw2009")
ssm_score(
aw2009,
scales = c("PA", "BC", "DE", "FG", "HI", "JK", "LM", "NO")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.