Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

update-LogisticIndepBeta-method

Update method for the 'LogisticIndepBeta'Model class. This is a method to update the modal estimates of the model parameters φ_1 (phi1) and φ_2 (phi2) when new data or new observations of responses are available and added in.


Description

Update method for the 'LogisticIndepBeta'Model class. This is a method to update the modal estimates of the model parameters φ_1 (phi1) and φ_2 (phi2) when new data or new observations of responses are available and added in.

Usage

## S4 method for signature 'LogisticIndepBeta'
update(object, data, ...)

Arguments

object

the model of LogisticIndepBeta class object

data

all currently availabvle of Data class object

...

unused

Value

the new LogisticIndepBeta class object

Examples

##Update the 'LogisticIndepBeta' model with new data
## first define the data and the model
emptydata<-Data(doseGrid=seq(25,300,25))
data<-emptydata

model<-LogisticIndepBeta(binDLE=c(1.05,1.8),DLEweights=c(3,3),DLEdose=c(25,300),data=data)
##Then we have some new observations data
data<-Data(x=c(25,50,50,75,100,100,225,300),
           y=c(0,0,0,0,1,1,1,1),
           doseGrid=seq(from=25,to=300,by=25))
##update the model to get new estimates
newModel <- update(object=model,data=data)

crmPack

Object-Oriented Implementation of CRM Designs

v1.0.0
GPL (>= 2)
Authors
Daniel Sabanes Bove [aut], Wai Yin Yeung [aut], Giuseppe Palermo [aut, cre], Thomas Jaki [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.