glance.anderson_darling: Glance at an 'anderson_darling' object

Description Usage Arguments Value See Also Examples

View source: R/adtest.R

Description

Glance accepts an object of type anderson_darling 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

1
2
## S3 method for class 'anderson_darling'
glance(x, ...)

Arguments

x

an anderson_darling object

...

Additional arguments. Not used. Included only to match generic signature.

Value

A one-row tibble::tibble() with the following columns:

See Also

anderson_darling()

Examples

1
2
3
4
5
6
7
8
x <- rnorm(100, 100, 4)
ad <- anderson_darling_weibull(x = x)
glance(ad)

## # A tibble: 1 x 6
##   dist        n     A        osl alpha reject_distribution
##   <chr>   <int> <dbl>      <dbl> <dbl> <lgl>
## 1 Weibull   100  2.62 0.00000207  0.05 TRUE

cmstatr documentation built on Sept. 30, 2021, 5:08 p.m.