Learn R Programming

crmPack (version 1.0.6)

EffFlexi: Initialization function for the "EffFlexi" class

Description

Initialization function for the "EffFlexi" class

Usage

EffFlexi(Eff, Effdose, sigma2, sigma2betaW, smooth = c("RW1", "RW2"), data)

Value

the EffFlexi class object

Arguments

Eff

the pseudo efficacy responses

Effdose

the corresponding dose levels for the pseudo efficacy responses

sigma2

the prior variance of the efficacy responses which can be specified with a single positive scalar or with two positive scalar values fot the shape a and the rate b parameters of the inverse gamma distribtuion.

sigma2betaW

the prior variance of the random walk model used for smoothing which can be specified with a single postive scalar or with two positive scalars representing the shape a and the rate b parameter of the inverse gamma distribution.

smooth

used for smoothing data for this efficacy model. That is either the "RW1", the first-order random walk model or "RW2", the second-order random walk model is used of the mean efficacy responses.

data

the input data to update estimates of model parameters and follow the DataDual object class specification