idw | R Documentation |
This function will generate the output for an Wilcoxon rank-sum test for independent non-parametric samples
idw(x, y = NULL, tails = 2)
x |
A formula dependent variable ~ dependent variable, a data frame variable can also be passed in. |
y |
A data frame, necessary if data frame is not referenced in formula or piped in, if a data frame variable is passed in to x, a data frame variable will also be accepted. |
tails |
An integer indicating whether the test is one-tailed '1' or two-tailed '2' |
A list of output for reporting $analysis_type, $results, $descriptive_statistics
idw_results <- idw_data %>% idw(scones ~ tea)
idw_results <- idw(scones ~ tea, idw_data, tails = 1)
idw_results <- idw(idw_data, scones ~ tea)
idw_results <- idw(idw_data$scones ~ idw_data$tea)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.