get_zs: Get (standardized) score and weighted log-rank statistics.

Description Usage Arguments Value

View source: R/get_zs.R

Description

get_zs Calculate (standardized) score and weighted log-rank statistics from risk table (with weights).

Usage

1
get_zs(risk_table, method = "u")

Arguments

risk_table

A risk table with weights produced by the functions get_risk_table and add_weights.

method

If method = "u" then the logrank formula is used. If method = "s" then the score test formula is used.

Value

The standardized weighted log-rank statistic.


dominicmagirr/modestWLRT documentation built on Sept. 16, 2020, 2:43 p.m.