2018-10-02 21:07:43 +02:00
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rep_glm.R
\name{rep_glm}
\alias{rep_glm}
\title{A repeated logistic regression function}
\usage{
2021-03-29 08:58:26 +02:00
rep_glm(meas, vars = NULL, string, ci = FALSE, data, fixed.var = FALSE)
2018-10-02 21:07:43 +02:00
}
\arguments{
2018-10-04 10:10:35 +02:00
\item{meas}{Effect meassure. Input as c() of columnnames, use dput().}
2018-10-02 21:07:43 +02:00
2018-10-04 09:23:14 +02:00
\item{vars}{variables in model. Input as c() of columnnames, use dput().}
2018-10-23 14:17:33 +02:00
\item{string}{variables to test. Input as c() of columnnames, use dput().}
2018-10-04 10:10:35 +02:00
2019-11-26 14:11:37 +01:00
\item{ci}{flag to get results as OR with 95 percent confidence interval.}
2018-10-11 15:34:44 +02:00
2019-11-08 12:22:49 +01:00
\item{data}{dataframe to pull variables from.}
2018-10-04 21:06:22 +02:00
2018-10-23 14:17:33 +02:00
\item{fixed.var}{flag to set "vars" as fixed in the model. When FALSE, then true bivariate logistic regression is performed.}
2018-10-02 21:07:43 +02:00
}
\description{
2018-10-04 09:23:14 +02:00
For bivariate analyses. The confint() function is rather slow, causing the whole function to hang when including many predictors and calculating the ORs with CI.
2018-10-02 21:07:43 +02:00
}
\keyword{logistic}