| detect_model_type_auto | R Documentation |
Determines the appropriate model type based on outcome variable characteristics and presence of random effects.
detect_model_type_auto(data, outcome, has_random_effects, family = "binomial")
data |
Data.frame or data.table containing the outcome variable. |
outcome |
Character string specifying the outcome variable or Surv() expression. |
has_random_effects |
Logical indicating if random effects are specified. |
family |
Character string for GLM family (default "binomial"). |
Character string indicating detected model type.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.