mirror of
https://github.com/agdamsbo/daDoctoR.git
synced 2024-11-24 12:41:54 +01:00
26 lines
932 B
R
26 lines
932 B
R
% 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{
|
|
rep_glm(meas, vars = NULL, string, ci = FALSE, data, fixed.var = FALSE)
|
|
}
|
|
\arguments{
|
|
\item{meas}{Effect meassure. Input as c() of columnnames, use dput().}
|
|
|
|
\item{vars}{variables in model. Input as c() of columnnames, use dput().}
|
|
|
|
\item{string}{variables to test. Input as c() of columnnames, use dput().}
|
|
|
|
\item{ci}{flag to get results as OR with 95 percent confidence interval.}
|
|
|
|
\item{data}{dataframe to pull variables from.}
|
|
|
|
\item{fixed.var}{flag to set "vars" as fixed in the model. When FALSE, then true bivariate logistic regression is performed.}
|
|
}
|
|
\description{
|
|
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.
|
|
}
|
|
\keyword{logistic}
|