Description Usage Arguments Value Examples
This function receives a linear regression model and p-value threshold and outputs the p-value from a Shapiro wilks test along with a statement indicating the results of the normality test
1 |
data |
a dataframe containing regression data |
formula |
a formula in the format "y ~ x1 + x2 + ..." indicating regression variables |
p_threshold |
a p_value indicating rejection threshold of Shapiro wilks test |
a float of the p-value and a string with the word Pass or Fail depending on the results of the test
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.