Skip to content

Commit

Permalink
args
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Mar 27, 2024
1 parent 5b99a23 commit d7d92ba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 4 additions & 2 deletions R/check_model.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#'
#' @param x A model object.
#' @param dot_size,line_size Size of line and dot-geoms.
#' @param base_size,axis_title_size Base font size for axis and plot titles.
#' @param base_size,title_size,axis_title_size Base font size for axis and plot titles.
#' @param panel Logical, if `TRUE`, plots are arranged as panels; else,
#' single plots for each diagnostic are returned.
#' @param check Character vector, indicating which checks for should be performed
Expand Down Expand Up @@ -193,7 +193,8 @@ check_model.default <- function(x,
show_dots = NULL,
dot_size = 2,
line_size = 0.8,
axis_title_size = base_size * 0.8,
title_size = 12,
axis_title_size = base_size,
base_size = 10,
alpha = 0.2,
dot_alpha = 0.8,
Expand Down Expand Up @@ -266,6 +267,7 @@ check_model.default <- function(x,
attr(assumptions_data, "line_size") <- line_size
attr(assumptions_data, "base_size") <- base_size
attr(assumptions_data, "axis_title_size") <- axis_title_size
attr(assumptions_data, "title_size") <- title_size
attr(assumptions_data, "check") <- check
attr(assumptions_data, "alpha") <- alpha
attr(assumptions_data, "dot_alpha") <- dot_alpha
Expand Down
5 changes: 3 additions & 2 deletions man/check_model.Rd

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

0 comments on commit d7d92ba

Please sign in to comment.