gam_binomial: Plot logistic GAM

View source: R/plot_gam.R

gam_binomialR Documentation

Plot logistic GAM

Description

Display graphical representation of logistic regression gam models on the response using the random effects structure and comparing the estimates.

Usage

gam_binomial(
  data,
  var,
  seed = 1234,
  legend = TRUE,
  var_name = NULL,
  plot = TRUE,
  ylab = NULL,
  ...
)

Arguments

data

Dataset from where to extract response and independent variables.

var

Character. Response variable to test on gam models with varying random effects structures.

seed

Numeric. Seed for random processes within gams.

legend

Logical. Whether to include the figure legend.

var_name

Character. The label for the y-axis. Default is NULL, so "Predicted score" is used.

plot

Logical. Whether to return the plot. If FALSE, then the models with the varying random effects structures are returned.

ylab

Character. Personalized y-axis lab (overwrites the default constructed y-axis lab)..

...

Currently not used.


nim-ach/ASQ3 documentation built on May 8, 2023, 10:21 p.m.