| glance.equiv_mean_extremum {cmstatr} | R Documentation |
Glance at an equiv_mean_extremum object
Description
Glance accepts an object of type equiv_mean_extremum and returns a
tibble::tibble() with
one row of summaries.
Glance does not do any calculations: it just gathers the results in a tibble.
Usage
## S3 method for class 'equiv_mean_extremum'
glance(x, ...)
Arguments
x |
an equiv_mean_extremum object returned from
|
... |
Additional arguments. Not used. Included only to match generic signature. |
Value
A one-row tibble::tibble() with the following
columns:
-
alphathe value of alpha passed to this function -
n_samplethe number of observations in the sample for which equivalency is being checked. This is either the valuen_samplepassed to this function or the length of the vectordata_sample. -
modcvlogical value indicating whether the acceptance thresholds are calculated using the modified CV approach -
threshold_min_indivThe calculated threshold value for minimum individual -
threshold_meanThe calculated threshold value for mean -
result_min_indiva character vector of either "PASS" or "FAIL" indicating whether the data fromdata_samplepasses the test for minimum individual. Ifdata_samplewas not supplied, this value will beNULL -
result_meana character vector of either "PASS" or "FAIL" indicating whether the data fromdata_samplepasses the test for mean. Ifdata_samplewas not supplied, this value will beNULL -
min_sampleThe minimum value from the vectordata_sample. ifdata_samplewas not supplied, this will have a value ofNULL -
mean_sampleThe mean value from the vectordata_sample. Ifdata_samplewas not supplied, this will have a value ofNULL
See Also
Examples
x0 <- rnorm(30, 100, 4)
x1 <- rnorm(5, 91, 7)
eq <- equiv_mean_extremum(data_qual = x0, data_sample = x1, alpha = 0.01)
glance(eq)
## # A tibble: 1 x 9
## alpha n_sample modcv threshold_min_indiv threshold_mean
## <dbl> <int> <lgl> <dbl> <dbl>
## 1 0.01 5 FALSE 86.2 94.9
## # ... with 4 more variables: result_min_indiv <chr>, result_mean <chr>,
## # min_sample <dbl>, mean_sample <dbl>