Learn R Programming

PowerUpR (version 0.1.3)

mdes.to.pctl: MDES to Percentiles

Description

mdes.to.pctl converts MDES values returned from mdes function into percentile values.

Usage

mdes.to.pctl(design)

Arguments

design
an object returned from mdes function.

Details

mdes.to.pctl converts MDES values returned from mdes function into percentile values.Values should be interpreted as percentile increase with reference to 50th percentile.

See Also

optimal.to.mdes, mrss.to.mdes

Examples

Run this code
  ## Not run: ------------------------------------
# 
#     # MDES values returned from mdes function
#     design1 <- mdes.cra3r3(power=.80, rho2=.06, rho3=.18,
#                        g3=1, R12=.55, R22=.50, R32=.45,
#                        P=.40, n=10, J=2, K=83)
#     # convert MDES values into percentiles
#     percentiles <- mdes.to.pctl(design1)
# 
#   
## ---------------------------------------------

Run the code above in your browser using DataLab