Learn R Programming

RSCABS (version 0.9.5)

stepDownRSCABS: Performs the step down aspect of RSCABS

Description

and internal function that performs the step down aspect of RSCABS.

Usage

stepDownRSCABS(TestK, x.i.j, n.i.j, m.i, Effect, test.type)

Arguments

TestK

The severity score being tested

x.i.j

Matrix containing the number of observed "successes" for replicate i on treatment j.

n.i.j

Matrix containing the number of observations for replicate i on treatment j.

m.i

Matrix of number units in each treatment/replicate combination.

Effect

The the end point to be tested.

test.type

Indicate the type of analysis to be performed. Use "RS" to select the Rao-Scott adjustment to the Cochran-Armitage test and "CA" to ignore the adjustment.

Value

Result.K

An intermediary result.