View source: R/shapirotest.ANSM.R
shapirotest.ANSM | R Documentation |
shapirotest.ANSM()
is a wrapper for shapiro.test() from the stats
package - performs the Shapiro-Wilk test of Normality and is used in chapters 4 and 5 of "Applied Nonparametric Statistical Methods" (5th edition)
shapirotest.ANSM(x, alternative = c("two.sided"))
x |
Numeric vector |
alternative |
Type of alternative hypothesis (defaults to |
An ANSMtest object with the results from applying the function
# Example 4.4 from "Applied Nonparametric Statistical Methods" (5th edition)
shapirotest.ANSM(ch4$ages)
# Example 5.3 from "Applied Nonparametric Statistical Methods" (5th edition)
shapirotest.ANSM(ch5$bp.incorrect)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.