Skip to content

Commit

Permalink
Add GAM.binary.gam.gam and GAM.binary.mgcv.bam in OptionsBigboss
Browse files Browse the repository at this point in the history
  • Loading branch information
MayaGueguen committed Jan 26, 2024
1 parent 1e2dfa8 commit c3a0c67
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 1 deletion.
15 changes: 15 additions & 0 deletions R/biomod2_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,16 @@
#' \item \code{method = 'mars'}
#' }
#' }
#' \item{\code{GAM.binary.gam.gam}}{
# \itemize{
# \item ...
# }
#' }
#' \item{\code{GAM.binary.mgcv.bam}}{
# \itemize{
# \item ...
# }
#' }
#' \item{\code{GAM.binary.mgcv.gam}}{
#' \itemize{
#' \item \code{family = binomial(link = 'logit')}
Expand Down Expand Up @@ -145,6 +155,11 @@
"OptionsBigboss"

# bm.opt <- bm_ModelingOptions(data.type = "binary", strategy = "default")
# bm.opt_gam2 <- bm_ModelingOptions(data.type = "binary", strategy = "default", models = "GAM.gam.gam")
# bm.opt_gam3 <- bm_ModelingOptions(data.type = "binary", strategy = "default", models = "GAM.mgcv.bam")
# bm.opt@models <- sort(unique(c(bm.opt@models, bm.opt_gam2@models, bm.opt_gam3@models)))
# bm.opt@options <- c(bm.opt@options, bm.opt_gam2@options, bm.opt_gam3@options)
# bm.opt@options <- bm.opt@options[bm.opt@models]
# bm.opt@[email protected][['_allData_allRun']]$size = 5 #NULL
# bm.opt@[email protected][['_allData_allRun']]$decay = 5
# bm.opt@[email protected][['_allData_allRun']]$trace = FALSE
Expand Down
Binary file modified data/OptionsBigboss.rda
Binary file not shown.
8 changes: 7 additions & 1 deletion docs/reference/OptionsBigboss.html

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

4 changes: 4 additions & 0 deletions man/OptionsBigboss.Rd

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

0 comments on commit c3a0c67

Please sign in to comment.