# NOT RUN {
set.seed(10)
x <- rnorm(20, 100, 5)
b <- basis_normal(x = x)
glance(b)
## # A tibble: 1 x 7
## p conf distribution modcv n r basis
## <dbl> <dbl> <chr> <lgl> <int> <lgl> <dbl>
## 1 0.9 0.95 Normal FALSE 20 NA 92.0
glance(b, include_diagnostics = TRUE)
## # A tibble: 1 x 11
## p conf distribution modcv n r basis outliers_within<U+2026>
## <dbl> <dbl> <chr> <lgl> <int> <lgl> <dbl> <chr>
## 1 0.9 0.95 Normal FALSE 20 NA 92.0 NA
## # <U+2026> with 3 more variables: between_batch_variability <chr>,
## # outliers <chr>, anderson_darling_normal <chr>
# }
Run the code above in your browser using DataLab