mirror of
https://github.com/agdamsbo/daDoctoR.git
synced 2024-11-22 03:40:23 +01:00
u
This commit is contained in:
parent
25c126360e
commit
6ff5011fd3
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user