Learn R Programming

PowerUpR (version 0.1.2)

optimal.to.mdes: Optimal to MDES

Description

optimal.to.mdes converts an object returned from optimal function into an object returned from mdes function.

Usage

optimal.to.mdes(design)

Arguments

design
an object returned from one of the optimal functions.

Details

optimal.to.mdes converts an object returned from optimal function into an object returned from mdes function by passing parameters through mdes function.

See Also

optimal.to.power, mrss.to.mdes, mrss.to.power

Examples

Run this code
## Not run: 
# 
#      # object returned from optimal function
#      design1 <- optimal.bira2r1(cn=1, cJ=10, cost=560,
#                                constrain="cost", rho2=.20, omega2=.50)
#      # convert the object into an object returned from mdes function
#      design2 <- optimal.to.mdes(design1)
# 
#   ## End(Not run)

Run the code above in your browser using DataLab