Learn R Programming

PowerUpR (version 1.1.0)

conversion: Object Conversion

Description

Use mrss.to.mdes() to convert an object returned from MRSS functions into an object returned from MDES functions, mrss.to.power() to convert an object returned from MRSS functions into an object returned from power functions, power.to.mdes() to convert an object returned from power functions into an object returned from MDES functions, mdes.to.power() to convert an object returned from MDES functions into an object returned from power functions, and mdes.to.pctl() to convert effect sizes or an object returned from MDES functions into percentiles.

Usage

mrss.to.mdes(object)
  mrss.to.power(object)
  power.to.mdes(object)
  mdes.to.power(object)
  mdes.to.pctl(object)

Arguments

object

an object returned from one of the functions in PowerUpR package.

Examples

Run this code
# NOT RUN {
design1 <- power.bira2(es=.15, rho2=.35, omega2=.10, n=83, J=10)
design2 <- power.to.mdes(design1)
mdes.to.pctl(design2)
# }

Run the code above in your browser using DataLab