View source: R/SDS100_get_statistics.R
get_F_stat | R Documentation |
Calculates the F statistic
get_F_stat(data, grouping)
data |
A vector of quantitative data. |
grouping |
A vector of categorical data indicating which group each value of the quantitative data belongs to. |
set.seed(100)
the_data <- c(rnorm(10, -3), rnorm(10, 0), rnorm(10, 3))
grouping <- c(rep("A", 10), rep("B", 10), rep("C", 10))
get_F_stat(the_data, grouping)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.