independentt: Independent t-test

Description Usage Arguments Examples

View source: R/independentt.R

Description

This function calculates an independent t-test and relevant supplementary statistics.

Usage

1
independentt(data, dependent.var, group.var)

Arguments

data

The data frame to evaluate.

dependent.var

Dependent variable of the data frame.

group.var

Grouping variable of the data frame. Has to equal two.

Examples

1
2
carsp <- data.frame(speed = cars$speed, group = as.factor(sample(1:2,nrow(cars),replace = TRUE)))
results.carsp <- proxi::independentt(carsp, speed, group)

zaj13/proxi documentation built on May 4, 2019, 9:08 p.m.