tTest: t test function for paired t test including Hedges g and...

Description Usage Arguments Value Author(s) Examples

View source: R/Code_for_ClinicalSig.R

Description

t test function for paired t test including Hedges g and power

Usage

1
tTest(pre, post, data, alternative, sig.level)

Arguments

pre

The variable containing the values from before the intervention

post

The variable containing the values from after the intervention

data

The data set containing the variables

alternative

Direction of the alternative. Can have the values "less" or "greater".

sig.level

The accepted probability for a type I error.

Value

a list containing results from t test for dependent variables, effect size and power

Author(s)

Matthias Ziegler

Examples

1
tTest(pre=U1_GDS_G, post=U2_GDS_G, data=dat, alternative="less", sig.level=.05)

zieglema/ClinicalSig documentation built on May 28, 2017, 1:50 p.m.