Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Mar 27, 2024
1 parent d0b6abb commit 0f5a7d8
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
10 changes: 9 additions & 1 deletion R/plot.check_model.R
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ plot.see_check_model <- function(x,
size_point = size_point,
base_size = base_size,
size_axis_title = size_axis_title,
size_title = size_title,
type = type,
check_model = TRUE,
adjust_legend = TRUE,
Expand Down Expand Up @@ -135,6 +136,7 @@ plot.see_check_model <- function(x,
style = style,
base_size = base_size,
size_axis_title = size_axis_title,
size_title = size_title,
colors = colors[c(2, 3, 1)],
adjust_legend = TRUE,
check_model = TRUE,
Expand All @@ -147,6 +149,8 @@ plot.see_check_model <- function(x,
x$OVERDISPERSION,
style = style,
base_size = base_size,
size_axis_title = size_axis_title,
size_title = size_title,
colors = colors[c(1, 2)],
size_line = size_line,
type = overdisp_type
Expand Down Expand Up @@ -212,13 +216,17 @@ plot.see_check_model <- function(x,
colors = colors,
detrend = detrend,
style = style,
base_size = base_size
base_size = base_size,
size_axis_title = size_axis_title,
size_title = size_title
)
} else {
p$QQ <- .plot_diag_qq(
x$QQ,
size_point = size_point,
size_line = size_line,
size_axis_title = size_axis_title,
size_title = size_title,
alpha_level = alpha_level,
detrend = detrend,
theme_style = style,
Expand Down
8 changes: 6 additions & 2 deletions R/plot.performance_simres.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,15 @@
plot.see_performance_simres <- function(x,
size_line = 0.8,
size_point = 2,
size_title = 12,
size_axis_title = base_size,
base_size = 10,
alpha = 0.2,
dot_alpha = 0.8,
colors = c("#3aaf85", "#1b6ca8"),
detrend = FALSE,
transform = NULL,
style = theme_lucid,
base_size = 10,
...) {
# need DHARMa to be installed
insight::check_if_installed("DHARMa")
Expand Down Expand Up @@ -147,7 +149,9 @@ plot.see_performance_simres <- function(x,
style(
base_size = base_size,
plot.title.space = 3,
axis.title.space = 5
axis.title.space = 5,
plot.title.size = size_title,
axis.title.size = size_axis_title
)
}

Expand Down
7 changes: 6 additions & 1 deletion man/plot.see_performance_simres.Rd

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

0 comments on commit 0f5a7d8

Please sign in to comment.