Description Usage Arguments Value See Also Examples
Performs a variety of normality tests on the numeric variables on a given dataset. Note the function also evaluates numeric vectors as well. The tests include; the shapiro wilk test, the anderson darling test, the cramer-von Mises test, the lillie (kolmogorov-smirnov) test, pearson chi-square test and the shapiro-francia test. The results can be saved to a specified directory.
1 2 3  | tests_norm(dataset, test = c("shapiro-wilk", "anderson-darling",
  "cramer-von mises", "lillie", "pearson", "shapiro-francia"),
  file_name = NULL, directory = NULL)
 | 
dataset | 
 A dataset to be tested  | 
test | 
 The type of normlity test used. One of six; "shapiro-wilk", "anderson-darling", "cramer-von mises", "lillie", "pearson" and "shapiro-francia". Default is "shapiro-wilk".  | 
file_name | 
 A character object indicating the file name when saving the data frame. The default is NULL. The name must include the .csv suffixs.  | 
directory | 
 A character object specifying the directory where the data frame is to be saved as a .csv file.  | 
Outputs a dataframe of the normality tests
tests_chisq, tests_cors, tests_ks, tests_proptest, tests_t, tests_var, tests_wilcoxon
1 2  | # Example House Price Dataset
tests_norm(dataset = house_prices, test = "anderson-darling")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.