setBaseAlphaspendf | R Documentation |
Sets the base alpha spending function.
setBaseAlphaspendf(theObject, funct0)
theObject |
The sequential design object |
funct0 |
The base alpha spending function. It needs to be defined before this method is called. |
an object of class "sequential.design"
design1<-sequential.design()
f1<-function (t) 0.025*t^3.5
design1<-setBaseAlphaspendf(design1,f1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.