StatCharrms (version 0.90.92)

forceStdAnalysis: Run a chosen analysis

Description

This function runs an analysis chosen through the GUI.

Usage

forceStdAnalysis(Data, Response, TreatmentVar, Transform, WeightsVar, 
	TimeVar, TestDirection, ReplicateVar, Test, AlphaLevel)

Arguments

Data

A data set.

Response

The name (as a string) of the response variable.

TreatmentVar

The name (as a string) of the treatment variable.

Transform

The Transformation for the response. Can be any of the following: c('Transformation', 'None', 'Log', log+1', 'Square_Root', 'Arcsin', 'Rank').

WeightsVar

The name (as a string) of the column containing the ANOVA weights.

TimeVar

The name (as a string) of the time variable.

TestDirection

The direction of the hypothesis test. Can take on any of the values of: c('Decreasing', 'Increasing', 'Both').

ReplicateVar

The name (as a string) of the replicate variable.

Test

The test being ran. Any of the following: c('RM ANOVA', 'ME ANOVA', 'Simple ANOVA', 'Weighted ANOVA', 'Jonckheere', 'Dunns', 'Dunnett','Williams') can be used.

AlphaLevel

The alpha level used in the Jonckheere-Terpstra trend test. See jonckheereTerpstraTest for more details.

Value

See the individual functions for information about each test.

Jonckheere

Jonckheere-Terpstra trend test see jonckheereTerpstraTest.

RM ANOVA

Repeated measures ANOVA see runMultiGen.

ME ANOVA

Mixed effects ANOVA see runMultiGen.

Simple ANOVA

One way ANOVA see basicAnova.

Weighted ANOVA

A weighted one way ANOVA see basicAnova.

Dunns

A Dunns test see dunnsTest.

Dunnet

A Dunnett's test see oneWayDunnettTest.

WilliamsTable

The results from the Williams test williamsTest.