idw: Generate Output for an Wilcoxon Rank-Sum Test

Description Usage Arguments Value Examples

View source: R/idw.R

Description

This function will generate the output for an Wilcoxon rank-sum test for independent non-parametric samples

Usage

1
idw(x, y = NULL, tails = 2)

Arguments

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'

Value

A list of output for reporting $analysis_type, $results, $descriptive_statistics

Examples

1
2
idw_results <- idt_data %>% idt(scones ~ tea)
idt_results <- idt(scones ~ tea, idt_data, tails = 1)

ECO230/eco230r documentation built on May 12, 2020, 2:10 a.m.