mirror of
https://github.com/agdamsbo/daDoctoR.git
synced 2024-10-30 02:31:52 +01:00
fix?
This commit is contained in:
parent
054dd78c43
commit
1c1e76414a
|
@ -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
|
||||||
|
|
|
@ -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()
|
||||||
|
|
|
@ -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()
|
||||||
|
|
|
@ -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()
|
||||||
|
|
|
@ -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}
|
|
||||||
|
|
|
@ -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}
|
|
||||||
|
|
|
@ -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}
|
|
||||||
|
|
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user