Learn R Programming

twidlr (version 0.0.0.9000)

t.test: data.frame-first formula-second method for

Description

This function passes a data.frame, formula, and additional arguments to t.test.

Usage

t.test(data, formula, ...)

Arguments

data
Data frame containing the variables in the model
formula
formula describing the model to be fitted
...
Additional arguments to pass to model function

See Also

t.test

Examples

Run this code
t.test(iris[1:100,], Petal.Width ~ Species)

# Help page for function being twiddled
?stats::t.test

Run the code above in your browser using DataLab