| nsca_extract | R Documentation |
Extract one value from an NSCA result
nsca_extract(model, x = NULL, ceiling = NULL, param = "weakest_effect")
model |
An object returned by |
x |
Condition name. Defaults to the first condition. |
ceiling |
Frontier technique. Defaults to the first requested. |
param |
A column of |
The selected value.
nsca_table(), nsca_legacy_names()
set.seed(1)
x <- sort(runif(60))
dat <- data.frame(X = x, Y = pmin(pmax(x + rnorm(60, 0, 0.1), 0), 1))
fit <- nsca_analysis(dat, "X", "Y", ceilings = "ce_fdh")
nsca_extract(fit, param = "weakest_effect")
nsca_extract(fit, param = "nec:Ceiling accuracy")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.