Skip to content

Commit

Permalink
better constraction of 'which.curve' parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
bblodfon committed Oct 6, 2023
1 parent 6e9bcff commit 21e5be9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/learner_BART_surv_bart.R
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ delayedAssign(
openmp = p_lgl(default = TRUE, tags = "predict"),
quiet = p_lgl(default = TRUE, tags = "predict"),
importance = p_fct(default = "count", levels = c("count", "prob"), tags = "train"),
which.curve = p_uty(tags = "predict")
which.curve = p_dbl(special_vals = list("mean"), tags = "predict")
)

# custom defaults
Expand Down

0 comments on commit 21e5be9

Please sign in to comment.