No flags found
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
4afbccf
... +0 ...
3d7ac47
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
82 | 82 | model <- survival::coxph(formula, data = data, x= TRUE) |
|
83 | 83 | if (!is.null(model$xlevels) & length(model$xlevels[[1]]) != 2) stop("Categorical independent variable must have 2 levels.") |
|
84 | 84 | res.kap <- survival::survfit(formula.km, data = data) |
|
85 | - | res.kap.times <- summary(res.kap, times = time_eventrate) |
|
85 | + | res.kap.times <- summary(res.kap, times = time_eventrate, extend = T) |
|
86 | 86 | prop <- round(100 * (1 - res.kap.times[["surv"]]), decimal.percent) |
|
87 | 87 | names(prop) <- model$xlevels[[1]] |
|
88 | 88 | #out.kap <- paste(res.kap.times[["n.event"]], " (", round(100 * (1 - res.kap.times[["surv"]]), decimal.percent), ")", sep = "") |
Files | Coverage |
---|---|
R | 84.59% |
Project Totals (12 files) | 84.59% |
3d7ac47
4afbccf