R/forestcox.R
changed.
Other files ignored by Codecov
NEWS.md
has changed.
DESCRIPTION
has changed.
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% 