powered by
Statistic for non-numeric factor tests (same statistic as H-test).
T_stat_discr(permu, al)
the response vector.
the factor.
the statistic.
# NOT RUN { permu = runif(100,-10,10) al = as.factor(sample(1:3,100,replace=TRUE)) T_stat_discr(permu, al) # }
Run the code above in your browser using DataLab