This is an auxiliary function for controlling arguments for Cox-PH model, typically used internally to specify
details of Cox-PH model for s_coxph_pairwise(). conf_level refers to Hazard Ratio estimation.
Arguments
- pval_method
(
string)
p-value method for testing hazard ratio = 1. Default method is"log-rank", can also be set to"wald"or"likelihood".- ties
(
string)
string specifying the method for tie handling. Default is"efron", can also be set to"breslow"or"exact". See more insurvival::coxph().- conf_level
(
proportion)
confidence level of the interval.- alternative
(
string)
alternative hypothesis for the p-value test. Default is"two.sided", can also be set to"less"or"greater"for one-sided testing. Note that one-sided testing is not supported whenpval_method = "likelihood".
