print.n.for.equi.2p: Print n.for.equi.2p results

Description Usage Arguments Author(s) See Also Examples

View source: R/epiDisplay.R

Description

Print results for sample size for hypothesis testing of 2 proportions in equivalent trial

Usage

1
2
## S3 method for class 'n.for.equi.2p'
print(x, ...)

Arguments

x

object of class 'n.for.equi.2p'

...

further arguments passed to or used by methods.

Author(s)

Virasakdi Chongsuvivatwong <[email protected]>

See Also

'n.for.2p'

Examples

1
n.for.equi.2p(p=.85, sig.diff=.05)

Example output

Loading required package: foreign
Loading required package: survival
Loading required package: MASS
Loading required package: nnet

Estimation of sample size for testing Ho: p1==p2==p 
Assumptions: 
 
     alpha = 0.05 
     power = 0.8 
         p = 0.85 
  sig.diff = 0.05 
 
Estimated required sample size: 
 
         n = 801 
   Total n = 1602 
 

epiDisplay documentation built on May 11, 2018, 1:04 a.m.