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,
  format = "html",
  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

format

a character string; possible values are latex, html, markdown, pandoc, and rst; this will be automatically determined if the function is called within knitr; it can also be set in the global option knitr.table.format; if format is a function, it must return a character string

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, format = "html", size = 10)


miriamMota/mmotaF documentation built on Jan. 12, 2023, 4 a.m.