Skip to content

Commit

Permalink
fix test error
Browse files Browse the repository at this point in the history
  • Loading branch information
egillax committed May 15, 2024
1 parent b699293 commit c0db10a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/EvaluationSummary.R
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,8 @@ getEvaluationStatistics_survival <- function(prediction, evalColumn, timepoint,
eStatistic <- eStatistic90 <- -1
if (!is.null(w)) {
eStatistic <- mean(abs(w$actual - w$estimatedSurvival))
eStatistic90 <- stats::quantile(abs(w$actual - w$estimatedSurvival), probs = .9)
eStatistic90 <- stats::quantile(abs(w$actual - w$estimatedSurvival),
probs = .9, na.rm = TRUE)
}

result <- rbind(
Expand Down

0 comments on commit c0db10a

Please sign in to comment.