Learn R Programming

PowerUpR (version 0.1.3)

power.to.mdes: power to MDES

Description

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

Usage

power.to.mdes(design)

Arguments

design
an object returned from one of the power functions.

Details

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

See Also

mrss.to.mdes, optimal.to.mdes

Examples

Run this code
  ## Not run: ------------------------------------
# 
#     # object returned from power function
#     design1 <- power.bira2r1(mdes=.15, rho2=.35, omega2=.10, n=83, J=10)
#     # convert the object into an object returned from mdes function
#     design2 <- power.to.mdes(design1)
# 
#   
## ---------------------------------------------

Run the code above in your browser using DataLab