powered by
Rank-transformation of single-case data files
rankSC(data, var, grand = TRUE, ...)
A single-case data frame. See scdf to learn about this format.
scdf
A string or string vector with the names of the variables to be ranked.
If TRUE, ranks will be calculated across all cases. If FALSE ranks are calculated within each case.
Additional paramters passed to the rank function.
rank
An scdf object where the values of the variable(s) are replaced with ranks.
Other data manipulation functions: fillmissingSC, longSCDF, outlierSC, scaleSC, shiftSC, smoothSC, truncateSC
fillmissingSC
longSCDF
outlierSC
scaleSC
shiftSC
smoothSC
truncateSC
# NOT RUN { Huber2014_rank <- rankSC(Huber2014, var = "compliance") plot(Huber2014_rank, style = "grid2") # }
Run the code above in your browser using DataLab