rankSC {scan} | R Documentation |
Rank-transformation of single-case data files
rankSC(data, var, grand = TRUE, ...)
data |
A single-case data frame. See |
var |
A string or string vector with the names of the variables to be ranked. |
grand |
If TRUE, ranks will be calculated across all cases. If FALSE ranks are calculated within each case. |
... |
Additional paramters passed to the |
An scdf
object where the values of the variable(s) are replaced with ranks.
Juergen Wilbert
Other data manipulation functions:
fillmissingSC()
,
longSCDF()
,
outlierSC()
,
scaleSC()
,
shiftSC()
,
smoothSC()
,
truncateSC()
Huber2014_rank <- rankSC(Huber2014, var = "compliance") plot(Huber2014_rank, style = "grid2")