powered by
Rank-transformation of single-case data files
ranks(data, var, grand = TRUE, ...)rankSC(...)
rankSC(...)
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: as.data.frame.scdf(), fill_missing(), outlier(), shift(), smooth_cases(), standardize(), truncate_phase()
as.data.frame.scdf()
fill_missing()
outlier()
shift()
smooth_cases()
standardize()
truncate_phase()
# NOT RUN { Huber2014_rank <- ranks(Huber2014, var = "compliance") plot(Huber2014_rank, style = "grid2") # }
Run the code above in your browser using DataLab