1 | Qinterplot(x, q = 0.5)
|
x |
|
q |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ##---- 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, q = 0.5)
{
if (is.matrix(x) || is.data.frame(x))
x = listm(x)
if (length(x) != 4)
stop("Should have a 2 by 2 design for a total of four groups")
qv = lapply(x, hd, q = q)
qv = as.vector(matl(qv))
interplot(2, 2, locvec = qv, xlab = "Fac 1", ylab = paste(q,
"Quantile"), trace.label = "Fac 2")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.