psr {rankFD} | R Documentation |
A function for computing pseudo-ranks of data
Description
The psr()
function calculates pseuo-ranks of data in general factorial designs. It returns the input data set complemented by an additional variable containing the pseudo-ranks. We note that more efficient algorithms for the computation of pseudo-ranks are implemented within the package pseudorank.
Usage
psr(formula, data, psranks = "pseudorank")
Arguments
formula |
A model |
data |
A data.frame, list or environment containing the variables in
|
psranks |
A header specifying the name of the pseudo ranks in the output data set. |
Details
The pseudo-ranks are exported within a new column attached to the given data set.
References
Konietschke, F., Hothorn, L. A., & Brunner, E. (2012). Rank-based multiple test procedures and simultaneous confidence intervals. Electronic Journal of Statistics, 6, 738-759.
Brunner, E., Bathke, A. C., Konietschke, F. (2018). Rank and pseudo-rank procedures for independent observations in factorial designs. Springer International Publishing.
Happ, M., Zimmermann, G., Brunner, E., Bathke, A. C. (2020). Pseudo-ranks: How to calculate them efficiently in R. Journal of Statistical Software, 95(1), 1-22.
See Also
Examples
data(Muco)
Muco2 <- psr(HalfTime~Disease,data=Muco, psranks="Mypseudos")