Description Usage Arguments Value See Also Examples
View source: R/basic_functions.R
Wrapper for Shapiro test but allow for all identical values
| 1 | shapiro_if_possible(in_vector)
 | 
| in_vector | Numerical vector the Shapiro-Wilk test is computed on | 
p-value of the Shapiro-Wilk test, zero if all entries in the input
vector in_vector are identical.
| 1 2 3 4 |  shapiro_if_possible(runif(100,min=2,max=4))
 shapiro_if_possible(rnorm(100,mean=5,sd=3))
 shapiro_if_possible(rep(4.3,100))
 shapiro_if_possible(c("Hello","World"))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.