parse_coxphP2: parse the coxphP2() returned value to text so as to show OR,...

Description Usage Arguments Value

Description

parse the coxphP2() returned value to text so as to show OR, P and so on

Usage

1
parse_coxphP2(x, type = "HR", digits = 2)

Arguments

x

results returned by coxphP2()

type

either OR from categorical variable or HR from continuous variable

digits

digits to keep in OR and CI

Value

a list of text string. i.e.

$coefExp_text

[1] "OR: 1.41"

$CI_text

[1] "CI: [0.88, 2.27]"

parse coxphP2 result


nickytong/GenAnalysis documentation built on July 20, 2019, 8:57 a.m.