1 |
x |
|
q |
|
op |
|
nboot |
|
MC |
|
SEED |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ##---- 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, op = 3, nboot = 600, MC = FALSE, SEED = TRUE)
{
if (is.matrix(x) || is.data.frame(x))
x = listm(x)
chkcar = NA
for (j in 1:length(x)) chkcar[j] = length(unique(x[[j]]))
if (min(chkcar < 14)) {
print("Warning: cardinality of sample space is less than")
print("14 for one more groups. Type I error might not be controlled")
}
output = pbadepth(x, est = hd, q = q, allp = TRUE, SEED = SEED,
op = op, nboot = nboot, MC = MC, na.rm = TRUE)
output
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.