get_F_stat: Calculates the F statistic

View source: R/SDS100_get_statistics.R

get_F_statR Documentation

Calculates the F statistic

Description

Calculates the F statistic

Usage

get_F_stat(data, grouping)

Arguments

data

A vector of quantitative data.

grouping

A vector of categorical data indicating which group each value of the quantitative data belongs to.

Examples

 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)


emeyers/SDS100 documentation built on April 28, 2024, 5:07 p.m.