ssm_score {circumplex} | R Documentation |
Calculate SSM parameters by row and add results as new columns
Description
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.
Usage
ssm_score(.data, scales, angles, ...)
Arguments
.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 |
... |
Optional. Additional parameters to pass to
|
Value
A data frame containing .data
plus six additional columns
containing the SSM parameters (calculated rowwise).
See Also
Other ssm functions:
ssm_analyze()
,
ssm_append()
,
ssm_parameters()
,
ssm_plot()
,
ssm_table()
Other analysis functions:
ssm_analyze()
,
ssm_parameters()
Examples
data("aw2009")
ssm_score(aw2009, scales = PA:NO, angles = octants())