Tags: IOBR/IOBR
Tags
Make plots optional and provide named entries Update BinomialModel and PrognosticModel to return plots = NULL when plotting is disabled, and otherwise return a named list with entries lasso and ridge instead of an unnamed list. This clarifies plot access and avoids returning unused plot objects when plot = FALSE (changes in R/BinomialModel.R and R/PrognosticModel.R).
Make plots optional and provide named entries Update BinomialModel and PrognosticModel to return plots = NULL when plotting is disabled, and otherwise return a named list with entries lasso and ridge instead of an unnamed list. This clarifies plot access and avoids returning unused plot objects when plot = FALSE (changes in R/BinomialModel.R and R/PrognosticModel.R).