mirror of
https://github.com/agdamsbo/daDoctoR.git
synced 2024-11-22 11:50:23 +01:00
28 lines
729 B
R
28 lines
729 B
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/rep_lm.R
|
|
\name{rep_lm}
|
|
\alias{rep_lm}
|
|
\title{A repeated linear regression function}
|
|
\usage{
|
|
rep_lm(meas, vars, string, ci = FALSE, data)
|
|
}
|
|
\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% confidence interval.}
|
|
|
|
\item{data}{data frame to pull variables from.}
|
|
}
|
|
\description{
|
|
For bivariate analyses, to determine which variables to include in adjusted model.
|
|
}
|
|
\examples{
|
|
rep_lm()
|
|
}
|
|
\keyword{linear}
|
|
\keyword{regression}
|