diff --git a/R/cie_test.R b/R/cie_test.R index bb57ac6..160e818 100644 --- a/R/cie_test.R +++ b/R/cie_test.R @@ -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 diff --git a/man/cie_test.Rd b/man/cie_test.Rd index 41964e6..27a2cc5 100644 --- a/man/cie_test.Rd +++ b/man/cie_test.Rd @@ -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.