glance.mnr: Glance at a 'mnr' (maximum normed residual) object

Description Usage Arguments Value See Also Examples

View source: R/mnr.R

Description

Glance accepts an object of type mnr 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 'mnr'
glance(x, ...)

Arguments

x

An mnr object

...

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

Value

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

See Also

maximum_normed_residual()

Examples

1
2
3
4
5
6
7
8
x <- c(rnorm(20, 100, 5), 10)
m <- maximum_normed_residual(x = x)
glance(m)

## # A tibble: 1 x 4
##     mnr alpha  crit n_outliers
##   <dbl> <dbl> <dbl>      <dbl>
## 1  4.23  0.05  2.73          1

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