mirror of
https://github.com/agdamsbo/daDoctoR.git
synced 2024-11-24 20:51:54 +01:00
27 lines
795 B
R
27 lines
795 B
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/rep_olr.R
|
|
\name{rep_olr}
|
|
\alias{rep_olr}
|
|
\title{A repeated ordinal logistic regression function}
|
|
\usage{
|
|
rep_olr(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{ci}{flag to get results as OR with 95% confidence interval.}
|
|
|
|
\item{str}{variables to test. Input as c() of columnnames, use dput().}
|
|
|
|
\item{dta}{data frame to pull variables from.}
|
|
}
|
|
\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.
|
|
}
|
|
\examples{
|
|
rep_olr()
|
|
}
|
|
\keyword{olr}
|