acov231 | R Documentation |
This a simulated data set which is used as an example of analysis of covariance. The data frame acov231 contains the data. The responses are in column 1, column 2 contains the levels of factor A, column 3 contains the levels of factor B, and the 4th column contains the covariate. All true parameters (effects) are 0 in this generated data set.
data(acov231)
A data frame with 33 observations and 4 variables.
response
numeric. the response.
fA
numeric. factor A with 2 levels.
fB
numeric. factor B with 3 levels.
covariate
numeric. a covariate.
Kloke, J. and McKean J.W. (2014), Nonparametric Statistical Methods using R, Boca Raton, FL: Chapman-Hall.
levs = c(2,3)
data = acov231[,1:3]
xcov = matrix(acov231[,4],ncol=1)
temp = kancova(levs,data,xcov)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.