powered by
This function is superseded by the more versatile transform.scdf function.
transform.scdf
ranks(data, var, grand = TRUE, ...)
An scdf object where the values of the variable(s) are replaced with ranks.
scdf
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 parameters passed to the rank function.
rank
Juergen Wilbert
Other data manipulation functions: add_l2(), as.data.frame.scdf(), as_scdf(), fill_missing(), moving_median(), outlier(), scdf(), select_cases(), set_vars(), shift(), smooth_cases(), standardize(), truncate_phase()
add_l2()
as.data.frame.scdf()
as_scdf()
fill_missing()
moving_median()
outlier()
select_cases()
set_vars()
shift()
smooth_cases()
standardize()
truncate_phase()
ranks(Huber2014, var = "compliance")
Run the code above in your browser using DataLab