Function to show adtest.
Arguments
- x
Needs to be an object of class
adtest.- digits
Minimal number of significant digits.
- quote
Logical, indicating whether or not strings should be printed with surrounding quotes. By default
quoteis set toTRUE.- prefix
Single character or character string that will be printed in front of
x.- ...
Further arguments passed to or from other methods.
Examples
data <- rnorm(20, mean = 20)
pcr1<-pcr(data, "normal", lsl = 17, usl = 23, plot = FALSE)
#> Scale for x is already present.
#> Adding another scale for x, which will replace the existing scale.
#> Anderson Darling Test for normal distribution
#>
#> data: data
#> A = 0.4264, mean = 20.111, sd = 1.210, p-value = 0.2841
#> alternative hypothesis: true distribution is not equal to normal
print_adtest(pcr1$adTest)
#> Anderson Darling Test for normal distribution
#>
#> data: data
#> A = 0.4264, mean = 20.111, sd = 1.210, p-value = 0.2841
#> alternative hypothesis: true distribution is not equal to normal