Description Usage Arguments Details Value Author(s) References Examples

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

1 | ```
kancova(levs,data,xcov,print.table=TRUE)
``` |

`levs` |
vector of levels corresponding to the factors A, B, C, etc. |

`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 |

Returns the analysis of covariance table assuming heterogenous slopes for a k-way layout.

`tab2` |
analysis of covariance |

`fint` |
rank-based ful model (heterogenous slopes |

`fithomog` |
rank-based ful model (homogeneous slopes |

John Kloke [email protected], Joseph McKean

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

1 2 3 4 | ```
levels <- c(2,2)
y.group <- huitema496[,c('y','i','j')]
xcov <- huitema496[,'x']
kancova(levels,y.group,xcov)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.