onecova: Robust Analysis of Covariance under Heterogeneous Slopes

View source: R/racov.r

onecovaR Documentation

Robust Analysis of Covariance under Heterogeneous Slopes

Description

Returns tests for homogeneous slopes and also assuming homogeneous slopes a test for differences in level. Currently only wilcoxon scores are used.

Usage

onecova(levs,data,xcov,print.table=TRUE)

Arguments

levs

Number of levels of the one-way design

data

matrix with response in column 1 and level in column 2

xcov

matrix of covariates

print.table

logical indicating a table should be printed

Details

Returns the analysis of covariance table.

Value

tab

analysis of covariance

References

Kloke, J. and McKean, J.W. (2014), Nonparametric statistcal methods using R, Boca Raton, FL: Chapman-Hall.

Examples

data=latour[,c('quality','rain')]
xcov<-cbind(latour['end.of.harvest'])
onecova(2,data,xcov,print.table=TRUE)

npsm documentation built on Nov. 15, 2023, 1:08 a.m.