mirror of
https://github.com/agdamsbo/daDoctoR.git
synced 2024-11-22 11:50: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
|
#' A repeated regression function for change-in-estimate analysis
|
||||||
#'
|
#'
|
||||||
#' For bivariate analyses. From "Modeling and variable selection in epidemiologic analysis." - S. Greenland, 1989.
|
#' For bivariate analyses. From "Modeling and variable selection in epidemiologic analysis." - S. Greenland, 1989.
|
||||||
#' @param y Effect meassure.
|
#' @param meas Effect meassure. Input as c() of columnnames, use dput().
|
||||||
#' @param v1 Main variable in model
|
#' @param vars variables in model. Input as c() of columnnames, use dput().
|
||||||
#' @param string String of columnnames from dataframe to include. 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
|
#' @keywords change-in-estimate
|
||||||
#' @export
|
#' @export
|
||||||
#' @examples
|
#' @examples
|
||||||
|
@ -7,11 +7,17 @@
|
|||||||
cie_test(meas, vars, string, data, logistic = FALSE, cut = 0.1)
|
cie_test(meas, vars, string, data, logistic = FALSE, cut = 0.1)
|
||||||
}
|
}
|
||||||
\arguments{
|
\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{
|
\description{
|
||||||
For bivariate analyses. From "Modeling and variable selection in epidemiologic analysis." - S. Greenland, 1989.
|
For bivariate analyses. From "Modeling and variable selection in epidemiologic analysis." - S. Greenland, 1989.
|
||||||
|
Loading…
Reference in New Issue
Block a user