giveTwoSidePval: Give two-sided p-values

Description Usage Arguments Value

View source: R/util.R

Description

This function returns 2 * min(surv, 1-surv)

Usage

1

Arguments

surv,

usually the one-sided p-value.

Value

This function returns the desired two-sided p-value.


shuxiaoc/outference documentation built on Dec. 5, 2017, 3:48 a.m.