Learn R Programming

PowerUpR (version 0.1.2)

optimal.to.power: Optimal to Power

Description

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

Usage

optimal.to.power(design)

Arguments

design
an object returned from one of the optimal functions.

Details

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

See Also

optimal.to.mdes, mrss.to.power, 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 power function
#      design2 <- optimal.to.power(design1)
# 
#   ## End(Not run)

Run the code above in your browser using DataLab