R/Statistics_functions.R
logist_univar_fun_cts.RdFits a univariate logistic regression model for a binary response and a continuous predictor. Returns odds ratio (per-unit increase) with 95% confidence intervals and Wald p-value.
logist_univar_fun_cts(data_fun, response, var)A 1-row matrix with OR, CI and p-value.
if (FALSE) { # \dontrun{
logist_univar_fun_cts(mydata, "Y", "Age")
} # }