glm.uni: A glm.uni Function

View source: R/glm.uni.R

glm.uniR Documentation

A glm.uni Function

Description

Genera tabla con los coeficientes OR , intervalos de confianza y p-valores de un modelo de regresión logística

Usage

glm.uni(
  y,
  var2test,
  var2match = NULL,
  data,
  size = 8.5,
  caption = NULL,
  show.n = TRUE,
  show.aov.pval = FALSE,
  group = TRUE,
  nround = 3
)

Arguments

y

response variable. Variable factor con 2 categorias

var2test

nombre de las variables a testar mediante regresión logítica

size

A numeric input for table font size

caption

Character vector containing the table's caption or title. Default value is "Univariate logistic regression"

show.n

TRUE o FALSE muestra el total de individuos usados para el ajuste del modelo. Default value is "TRUE".

show.aov.pval

TRUE o FALSE muestra el p-valor del modelo global. Default value is "TRUE".

group

TRUE o FALSE mostrar variables agrupadas en la tabla

Examples

# resglm <- glm.uni(y = "am",
# var2test = c("mpg","cyl","disp","hp","drat","wt","qsec","vs" ) ,
# data = mtc_bis, size = 10)


miriamMota/mmotaF documentation built on June 15, 2025, 11:35 a.m.