EffFlexi: Initialization function for the "EffFlexi" class

View source: R/Model-class.R

EffFlexiR Documentation

Initialization function for the "EffFlexi" class

Description

Initialization function for the "EffFlexi" class

Usage

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

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

Value

the EffFlexi class object


crmPack documentation built on Sept. 3, 2022, 1:05 a.m.