| nsca | R Documentation |
A thin wrapper over nsca_analysis() with a permutation test attached.
nsca(
data,
x,
y,
direction = "HH",
ceilings = "ce_fdh",
reference = NULL,
test.rep = 1000
)
data |
A data frame or object coercible to a data frame. |
x |
Columns containing one or more conditions. |
y |
A single outcome column. |
direction |
Necessary-and-sufficient direction(s): |
ceilings |
One or more empty-space frontier techniques, applied
identically to both sides. |
reference |
Central-tendency lines drawn beside the two frontiers for
comparison, or |
test.rep |
Number of permutation resamples for the engines' own component tests. Zero skips testing, and without it no joint-support verdict can be reached. |
An object of class nsca_result.
nsca_analysis()
set.seed(1)
x <- sort(runif(60))
dat <- data.frame(X = x, Y = pmin(pmax(x + rnorm(60, 0, 0.1), 0), 1))
# The default 1000 permutations take several seconds.
nsca(dat, "X", "Y")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.