Initialization function for the "EffFlexi" class
EffFlexi(Eff, Effdose, sigma2, sigma2betaW, smooth = c("RW1", "RW2"), data)
the EffFlexi
class object
the pseudo efficacy responses
the corresponding dose levels for the pseudo efficacy responses
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.
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.
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.
the input data to update estimates of model parameters and
follow the DataDual
object class specification