Skip to content

Commit

Permalink
Dontrun example
Browse files Browse the repository at this point in the history
  • Loading branch information
pfistfl committed Jul 21, 2021
1 parent a1c590a commit de5bab6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/MCBoost.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,15 @@
#' @examples
#' # See vignette for more examples.
#' # Instantiate the object
#' \dontrun{
#' mc = MCBoost$new()
#' # Run multi-calibration on training dataset.
#' mc$multicalibrate(iris[1:100,1:4], factor(sample(c("A","B"), 100, TRUE)))
#' # Predict on test set
#' mc$predict_probs(iris[101:150,1:4])
#' # Get auditor effect
#' mc$auditor_effect(iris[101:150,1:4])
#' }
#' @export
MCBoost = R6::R6Class("MCBoost",
public = list(
Expand Down
2 changes: 2 additions & 0 deletions man/MCBoost.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit de5bab6

Please sign in to comment.