data.reduc: Basic statistics

Description Usage Arguments Value Author(s) Examples

View source: R/DataReduc.R

Description

Calculate basic statistics from well-by-well data to condition data

Usage

1
2
data.reduc(data.table, NameIndex, VarIndexes, Ctrl, it = 0, spt = "_",
  sem = F, trunc.set = F, d.norm = F, alt = "two.sided")

Arguments

data.table

A data.frame on which stats are applied

NameIndex

The column name/index from data.table where condition name is found

VarIndexes

The column names/indexes whit variables of interest

Ctrl

A character string that contains the name of the control against which t.test will be performed

it

Shall t.test/normalization be applied recursively ?

spt

The linker used in condition names (see example)

sem

Shall sem be calculated instead of sd ?

trunc.set

Shall data outlyers be removed automatically?

d.norm

Shall normalization to control be applied ?

alt

See alt parameter from t.test function.

Value

A data.frame containing mean,sd/sem,p-value from t-test, asterisks of signativity for each variable

Author(s)

Allan Sauvat, allan.sauvat@gustaveroussy.fr

Examples

1
2
3
#Not running
Results = data.reduc(data.table = Summary,NameIndex=1,VarIndexes=10:13,
Ctrl='Ctr_8H',sem=T, trunc.set=T, d.norm=T, alt='greater')

Ahlallan/MetaxpR documentation built on March 18, 2020, 6:05 a.m.