setAlphaspendfString: Function that Sets the expression of the base alpha spending...

Description Usage Arguments Value Examples

Description

Sets the expression of the base alpha spending function as a string. This function is only used if one needs to display the base alpha spending function as a string. This function DOES NOT update the base alpha spending function. One can use setBaseAlphaspendf() to change the base alpha spending function. The spending functions and their string expressions should be defined only once per object. They should not be updated during any interim update to the design.

Usage

1
setAlphaspendfString(theObject, string0)

Arguments

theObject

The sequential design object

string0

The string of the expression of the base alpha spending function. Its argument need to be 't'.

Value

an object of class "sequential.design"

Examples

1
2
design1<-sequential.design()
design1<-setAlphaspendfString(design1,'0.025*t^4')


seqmon documentation built on May 20, 2017, 2:14 a.m.
Search within the seqmon package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.