This commit is contained in:
agdamsbo 2018-10-04 12:50:26 +02:00
parent 25c126360e
commit 6ff5011fd3
2 changed files with 15 additions and 6 deletions

View File

@ -1,9 +1,12 @@
#' A repeated regression function for change-in-estimate analysis
#'
#' For bivariate analyses. From "Modeling and variable selection in epidemiologic analysis." - S. Greenland, 1989.
#' @param y Effect meassure.
#' @param v1 Main variable in model
#' @param string String of columnnames from dataframe to include. Use dput().
#' @param meas Effect meassure. Input as c() of columnnames, use dput().
#' @param vars variables in model. Input as c() of columnnames, use dput().
#' @param string variables to test. Input as c() of columnnames, use dput().
#' @param data data frame to pull variables from.
#' @param logistic flag to set logistic (TRUE) or linear (FALSE,standard) analysis.
#' @param cut cut value for gating if including or dropping the tested variable. As suggested bu S. Greenland (1989).
#' @keywords change-in-estimate
#' @export
#' @examples

View File

@ -7,11 +7,17 @@
cie_test(meas, vars, string, data, logistic = FALSE, cut = 0.1)
}
\arguments{
\item{string}{String of columnnames from dataframe to include. Use dput().}
\item{meas}{Effect meassure. Input as c() of columnnames, use dput().}
\item{y}{Effect meassure.}
\item{vars}{variables in model. Input as c() of columnnames, use dput().}
\item{v1}{Main variable in model}
\item{string}{variables to test. Input as c() of columnnames, use dput().}
\item{data}{data frame to pull variables from.}
\item{logistic}{flag to set logistic (TRUE) or linear (FALSE,standard) analysis.}
\item{cut}{cut value for gating if including or dropping the tested variable. As suggested bu S. Greenland (1989).}
}
\description{
For bivariate analyses. From "Modeling and variable selection in epidemiologic analysis." - S. Greenland, 1989.