desc_unimods: A desc_unimods Function

View source: R/desc_unimods.R

desc_unimodsR Documentation

A desc_unimods Function

Description

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

Usage

desc_unimods(
  y,
  var2test,
  data,
  type = NULL,
  size = 8.5,
  format = "html",
  caption = NULL,
  show.n = TRUE,
  group = TRUE
)

Arguments

y

response variable.

var2test

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

type

regression type. "logistic" or "linealE

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".

group

TRUE o FALSE mostrar variables agrupadas en la tabla

Examples

# resglm <- desc_unimods(y = "am",
# var2test = c("mpg","cyl","disp","hp","drat","wt","qsec","vs" ) ,
# data = mtc_bis, format = "html", size = 10, type = "logistic")


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