nph: report for power

# Output results --------------------------------------------------------
p_results <- 
  data.frame(
    Test = c("Maximum Logrank", rep("Weighted Logrank", 4)),
    rho = c("0011", 0, 0, 1, 1),
    gamma = c("0101", 0, 1, 0, 1),
    power = params$p_pow) 

p_results
# Output results --------------------------------------------------------
knitr::kable(p_results)


Try the nph package in your browser

Any scripts or data that you put into this service are public.

nph documentation built on May 17, 2022, 1:06 a.m.