ipsatize: Ipsatize circumplex items using deviation scoring across variables
Description
Rescore each circumplex item using deviation scoring across variables. In
other words, subtract each observation's mean response from each response.
This effectively removes the presence of a general factor, which can make
certain circumplex fit analyses more powerful.
A data frame that matches data except that the variables specified
in items have been rescored using ipsatization.
Arguments
data
Required. A data frame or matrix containing at least circumplex
scales.
items
Required. A character vector containing the column names, or a
numeric vector containing column indexes, of item variables in data to be
ipsatized.
na.rm
Optional. A logical that determines whether missing values
should be ignored during the calculation of the mean during ipsatization
(default = TRUE).
prefix
Optional. A string that will be added to the start of each
items name in the output (default = "").
suffix
Optional. A string that will be added to the end of each
items name in the output (default = "_i").
append
Optional. A logical that determines whether to append the
ipsatized scores to data in the output or just return the ipsatized
scores alone (default = TRUE).
See Also
Other tidying functions:
norm_standardize(),
score(),
self_standardize()