ost | R Documentation |
This function will generate the output for a one sample t test.
ost(x, y = NULL, tails = 2, mu = 0)
x |
a formula ~Dependent Variable (or DV~1) or a data frame column containing the Dependent Variable |
y |
optional, a data frame when data frame is not referenced and a formula is passed to x or piped in |
tails |
an integer indicating whether the test is one-tailed '1' or two-tailed '2' |
mu |
a double representing the value you want to comare to, the default for this parameter is 0.0 |
A list of output for reporting $analysis_type, $results, $descriptive_statistics
ost_results <- ost_data %>% ost(~scones,mu = 44)
ost_results <- ost(ost_data$scones, tails = 1, mu = 44)
ost_results <- ost(ost_data$scones ~ 1, tails = 1, mu = 44)
ost_results <- ost(scones ~ 1, ost_data, tails = 1, mu = 44)
ost_results <- ost(~scones, ost_data, mu = 44)
ost_results <- ost(ost_data, ~scones, mu = 44)
ost_results <- ost(ost_data$scones, mu = 44)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.