powered by
Returns tests for homogeneous slopes and also assuming homogeneous slopes a test for differences in level. Currently only wilcoxon scores are used.
onecova(levs,data,xcov,print.table=TRUE)
analysis of covariance
Number of levels of the one-way design
matrix with response in column 1 and level in column 2
matrix of covariates
logical indicating a table should be printed
Returns the analysis of covariance table.
Kloke, J. and McKean, J.W. (2014), Nonparametric statistcal methods using R, Boca Raton, FL: Chapman-Hall.
data=latour[,c('quality','rain')] xcov<-cbind(latour['end.of.harvest']) onecova(2,data,xcov,print.table=TRUE)
Run the code above in your browser using DataLab