Skip to content

Commit

Permalink
small cmdcheck notes
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasjclark committed Dec 3, 2024
1 parent d03d92c commit 0d8ff79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/evaluate_mvgams.R
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ brier_mcmc_object <- function(truth,
} else {
scores <- matrix(NA, nrow = length(truth), ncol = 2)
for(i in indices_keep){
scores[i,] <- mvgam:::brier_score(truth = as.vector(truth)[i],
scores[i,] <- brier_score(truth = as.vector(truth)[i],
fc = fc[,i])
}
}
Expand Down
3 changes: 2 additions & 1 deletion R/globals.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ utils::globalVariables(c("y", "year", "smooth_vals", "smooth_num",
"jags_path", "x", "elpds", "pareto_ks",
"value", "threshold", "colour", "resids",
"c_dark", "eval_timepoints", "yqlow",
"ymidlow", "ymidhigh", "yqhigh", "preds"))
"ymidlow", "ymidhigh", "yqhigh", "preds",
"yhigh", "ylow"))

0 comments on commit 0d8ff79

Please sign in to comment.