Skip to content

Commit

Permalink
make ask = FALSE by default in cond_effects
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas Clark committed Nov 7, 2023
1 parent ce8f47f commit 4977bcf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 3 additions & 1 deletion R/conditional_effects.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
#' @param rug `Logical`. Indicates if displays tick marks should be plotted on the
#' axes to mark the distribution of raw data, but only if `type == 'response'`.
#' Default is `TRUE`.
#' @param ask `Logical`. Indicates if the user is prompted before a new page is plotted.
#' Only used if plot is `TRUE`. Default is `FALSE`.
#' @param type `character` specifying the scale of predictions (either 'response' or 'link')
#' @param ... other arguments to pass to \code{\link[marginaleffects]{plot_predictions}}
#' @return `conditional_effects` returns an object of class
Expand Down Expand Up @@ -152,7 +154,7 @@ conditional_effects.mvgam = function(x,
#' @export
plot.mvgam_conditional_effects = function(x,
plot = TRUE,
ask = TRUE,
ask = FALSE,
theme = NULL,
...){
out <- x
Expand Down
7 changes: 3 additions & 4 deletions man/conditional_effects.mvgam.Rd

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

Binary file modified src/mvgam.dll
Binary file not shown.

0 comments on commit 4977bcf

Please sign in to comment.