Learn R Programming

ZIprop (version 0.1.1)

T_stat_multi: Statistic for non-numeric factor multiple tests

Description

Statistic for non-numeric factor multiple tests (difference in mean ranks).

Usage

T_stat_multi(permu, al)

Arguments

permu

the response vector.

al

the factor.

Value

the means difference of two levels for a discrete factor.

Examples

Run this code
# NOT RUN {
permu = runif(100,-10,10)
al = as.factor(sample(1:3,100,replace=TRUE))
T_stat_multi(permu, al)
# }

Run the code above in your browser using DataLab