idt | R Documentation |
This function will generate the output for an independent t-test.
idt(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
idt_results <- idt_data %>% idt(scones ~ tea)
idt_results <- idt(idt_data$scones ~ idt_data$tea, tails = 1)
idt_results <- idt(scones ~ tea, idt_data)
idt_results <- idt(idt_data, scones ~ tea)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.