Learn R Programming

rankFD (version 0.0.5)

psr: A function for computing pseudo-ranks of data

Description

The psr() function calculates the pseuo-ranks of data in general factorial designs.

Usage

psr(formula, data, psranks)

Arguments

formula

A model formula object. The left hand side contains the response variable and the right hand side contains the factor variables of interest. Please use one-way layouts only for the computation of the pseudo-ranks.

data

A data.frame, list or environment containing the variables in formula. The default option is NULL.

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.

Kaufmann, J., Werner, C., and Brunner, E. (2005). Nonparametric methods for analysing the accuracy of diagnostic tests with multiple readers. Statistical Methods in Medical Research 14, 129 - 146

See Also

rankFD

Examples

Run this code
# NOT RUN {
data(Muco)
Muco2 <- psr(HalfTime~Disease,data=Muco, psranks="Mypseudos")

# }

Run the code above in your browser using DataLab