1 | comdvar(x, y, alpha = 0.05)
|
x |
|
y |
|
alpha |
1 2 3 4 5 6 7 8 9 10 11 12 13 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function (x, y, alpha = 0.05)
{
xy = elimna(cbind(x, y))
est1 = var(xy[, 1])
est2 = var(xy[, 2])
pv = pcorhc4(xy[, 1] - xy[, 2], xy[, 1] + xy[, 2], alpha = alpha)
list(p.value = pv$p.value, est1 = est1, est2 = est2)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.