This commit is contained in:
agdamsbo 2018-10-10 13:34:04 +02:00
parent 054dd78c43
commit 1c1e76414a
8 changed files with 9 additions and 14 deletions

View File

@ -1,12 +1,12 @@
#' A repeated logistic regression function #' A repeated logistic regression function
#' #'
#' @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. #' 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.
#' @param meas Effect meassure. Input as c() of columnnames, 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 vars variables in model. Input as c() of columnnames, use dput().
#' @param str variables to test. Input as c() of columnnames, use dput(). #' @param str variables to test. Input as c() of columnnames, use dput().
#' @param ci flag to get results as OR with 95% confidence interval. #' @param ci flag to get results as OR with 95% confidence interval.
#' @param dta data frame to pull variables from. #' @param dta data frame to pull variables from.
#' @keywords logistic regression #' @keywords logistic
#' @export #' @export
#' @examples #' @examples
#' l<-50 #' l<-50

View File

@ -6,7 +6,7 @@
#' @param string variables to test. Input as c() of columnnames, use dput(). #' @param string variables to test. Input as c() of columnnames, use dput().
#' @param ci flag to get results as OR with 95% confidence interval. #' @param ci flag to get results as OR with 95% confidence interval.
#' @param data data frame to pull variables from. #' @param data data frame to pull variables from.
#' @keywords linear regression #' @keywords linear
#' @export #' @export
#' @examples #' @examples
#' rep_lm() #' rep_lm()

View File

@ -1,12 +1,12 @@
#' A repeated ordinal logistic regression function #' A repeated ordinal logistic regression function
#' #'
#' @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. #' 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.
#' @param meas Effect meassure. Input as c() of columnnames, 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 vars variables in model. Input as c() of columnnames, use dput().
#' @param str variables to test. Input as c() of columnnames, use dput(). #' @param str variables to test. Input as c() of columnnames, use dput().
#' @param ci flag to get results as OR with 95% confidence interval. #' @param ci flag to get results as OR with 95% confidence interval.
#' @param dta data frame to pull variables from. #' @param dta data frame to pull variables from.
#' @keywords olr ordinal logistic regression #' @keywords olr
#' @export #' @export
#' @examples #' @examples
#' rep_olr() #' rep_olr()

View File

@ -7,7 +7,7 @@
#' @param data data frame to pull variables from. #' @param data data frame to pull variables from.
#' @param logistic flag to set logistic (TRUE) or linear (FALSE,standard) analysis. #' @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). #' @param cut cut value for gating if including or dropping the tested variable. As suggested bu S. Greenland (1989).
#' @keywords change-in-estimate #' @keywords estimate-in-estimate
#' @export #' @export
#' @examples #' @examples
#' rep_reg_cie() #' rep_reg_cie()

View File

@ -32,4 +32,3 @@ For bivariate analyses. The confint() function is rather slow, causing the whole
rep_glm(meas="y",vars="v3",string=preds,ci=F,data=d) rep_glm(meas="y",vars="v3",string=preds,ci=F,data=d)
} }
\keyword{logistic} \keyword{logistic}
\keyword{regression}

View File

@ -24,4 +24,3 @@ For bivariate analyses, to determine which variables to include in adjusted mode
rep_lm() rep_lm()
} }
\keyword{linear} \keyword{linear}
\keyword{regression}

View File

@ -23,7 +23,4 @@ For bivariate analyses. The confint() function is rather slow, causing the whole
\examples{ \examples{
rep_olr() rep_olr()
} }
\keyword{logistic}
\keyword{olr} \keyword{olr}
\keyword{ordinal}
\keyword{regression}

View File

@ -25,4 +25,4 @@ For bivariate analyses. From "Modeling and variable selection in epidemiologic a
\examples{ \examples{
rep_reg_cie() rep_reg_cie()
} }
\keyword{change-in-estimate} \keyword{estimate-in-estimate}