onecovahomog: Robust Analysis of Covariance under Heterogeneous Slopes

Description Usage Arguments Details Value References Examples

View source: R/racov.r

Description

Returns a robust rank-based analysis of covariance for a one-way layout assuming homogeneous slopes; see Section 5.4 of Kloke and McKean (2014). Currently only wilcoxon scores are used.

Usage

1

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 assuming homogeneous slopes.

Value

tab

analysis of covariance

fit

rank-based ful model (homogeneous slopes

References

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

Examples

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


npsm documentation built on May 19, 2017, 10:04 a.m.
Search within the npsm package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.