rquery.t.test: Rquery T-Test

View source: R/fun.Helper.R

rquery.t.testR Documentation

Rquery T-Test

Description

Performs one or two samples t-test

Usage

rquery.t.test(x, y = NULL, paired = FALSE, graph = TRUE, ...)

Arguments

x

a (non-empty) numeric vector of data values.

y

an optional (non-empty) numeric vector of data values

paired

: if TRUE, paired t-test is performed

graph

: if TRUE, the distribution of the data is shown for the inspection of normality

...

: further arguments to be passed to the built-in t.test() R function

Details

1. shapiro.test is used to check normality 2. F-test is performed to check equality of variances If the variances are different, then Welch t-test is used

Value

Returns t-test results


leppott/ContDataQC documentation built on Jan. 5, 2025, 10:12 a.m.