Learn R Programming

UAHDataScienceSF (version 1.0.0)

fisher: Fisher's F Distribution Function

Description

This function calculates the F statistic between two groups.

Usage

fisher(x = NULL, y = NULL, learn = FALSE, interactive = FALSE)

Value

The F statistic (for non-interactive mode)

Arguments

x

Optional first vector (not needed for interactive mode)

y

Optional second vector (not needed for interactive mode)

learn

Logical, if TRUE shows step-by-step explanation

interactive

Logical, if TRUE enables interactive practice mode

Examples

Run this code
x <- c(70,75,74,72,68,59)
y <- c(74,77,70,80,72,76)

# Simple calculation
fisher(x, y)

# Learning mode
fisher(x, y, learn = TRUE)

# Interactive mode
if(interactive()){
fisher(interactive = TRUE)
}

Run the code above in your browser using DataLab