TrtDataIdeal-class: An S4 class, an ideal dataset that contains covariates and...

Description Usage Arguments Methods (by generic) Slots See Also

Description

An S4 class, an ideal dataset that contains covariates and responses under both treatments. It can be used to generate a TrtDataObj randomly.

Usage

1
2
## S4 method for signature 'TrtDataIdeal'
show(object)

Arguments

object

A TrtDataIdeal object.

Methods (by generic)

Slots

trtResp1

A numeric vector, the response under the first treatment

trtResp2

A numeric vector, the response under the second treatment

X

A numeric matrix. Containing all the variables.

label

A character vector of length two, two treatment labels. The first one corresponds to trtResp1 and the second one corresponds to trtResp2.

See Also

TrtDataIdeal-class
TrtDataObj-class
generateTrtData


SkadiEye/ITRlearn documentation built on May 24, 2019, 1:31 a.m.