get.sd: Function to Get sd from Inverse Variance

Description Usage Arguments Details Value Author(s) Examples

Description

It is a small function to calculate sd by taking sqrt((num)^(-1)), where num = inverse variance.

Usage

1
get.sd(num)

Arguments

num

a positive number or a vector of positive numbers

Details

to be called by sample.null.ind or sample.alt.ind

Value

a number that is the sqrt of the inverse of the argument

Author(s)

Peng Liu peng\_liu@groton.pfizer.com

Examples

1
2
3
4
5
6
7
## example 1
temp1 <- get.sd(4)
temp1

## example 2
temp2 <- get.sd(c(1,4,9,16))
temp2

warnes/exp.ssize documentation built on May 4, 2019, 12:59 a.m.