Description Usage Arguments Value Author(s) References Examples

Aligned rank test for a group/treatment effect after adjusting for covariates.

1 | ```
aligned.test(x, y, g, scores = Rfit::wscores)
``` |

`x` |
n by p design matrix |

`y` |
n by 1 response vector |

`g` |
n by 1 vector denoting group/treatment membership. |

`scores` |
Which scores should be used for the fit and the test. An object of class scores. |

`statistic` |
The value of the test statistic. |

`p.value` |
The p-value based on a chisq(k-1) distribution where k is the number of groups/treatments. |

John Kloke [email protected]

Hettmansperger, T.P. and McKean J.W. (2011), *Robust Nonparametric Statistical Methods, 2nd ed.*, New York: Chapman-Hall.

1 2 3 4 | ```
y<-rt(30,2)
x<-runif(30)
g<-rep(1:3,each=10)
aligned.test(x,y,g)
``` |

kloke/npsm documentation built on May 18, 2017, 9:42 p.m.

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.