Skip to content

Commit

Permalink
Update parms for Rd
Browse files Browse the repository at this point in the history
  • Loading branch information
xsswang committed May 18, 2022
1 parent 87ed987 commit f58e50c
Show file tree
Hide file tree
Showing 11 changed files with 45 additions and 14 deletions.
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@
^README\.Rmd$
^CRAN-RELEASE$
^LICENSE$
^doc$
^Meta$
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
inst/doc
revdep/
.Rproj.user
/doc/
/Meta/
1 change: 1 addition & 0 deletions R/clm_MI_CR.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#' Apply Copy-Reference(CR) Method to Update JAGS MCMC outputs under MAR for Cumulative Logistic Model
#'
#' Internal function to obtain Copy-Reference(CR) MCMC from an MAR object.
#' @inheritParams commParams
#' @param object an object of class remoid
#' @param treatment the variable name of treatment. Reference level of treatment should be coded as 0.
#' @param start first iteration to be used.
Expand Down
1 change: 1 addition & 0 deletions R/clm_MI_delta.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#' Apply Delta adjustment to Update JAGS MCMC outputs under MAR for Cumulative Logistic Model
#'
#' Internal function to obtain delta-adjusted MCMC from an MAR object.
#' @inheritParams commParams
#' @param object an object of class remiod
#' @param treatment the variable name of treatment. Reference level of treatment should be coded as 0.
#' @param delta specific value used for Delta adjustment, applicable only
Expand Down
1 change: 1 addition & 0 deletions R/get_MI_RB.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#' onto each other (i.e., long format; optionally including the original,
#' incomplete data).\cr
#'
#' @inheritParams commParams
#' @param object an object of class JointAI
#' @param treatment the variable name of treatment. Reference level of treatment should be coded as 0.
#' @param method a method for obtaining multiple-imputed dataset. Options
Expand Down
7 changes: 4 additions & 3 deletions R/tang_MI_RB.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,17 @@
#' imputation method with the algorithm of Tang's sequential modeling.
#'
#' @inheritParams commParams
#'
#' @param dtimp imputed complete data sets from \code{remiod} function.
#' @param treatment name of the treatment variable.
#' @param thin thinning to be applied.
#' @return multiple imputed datasets stacked onto each other (i.e., long format;
#' optionally including the original incomplete data).\cr
#' The variable \code{Imputation_} indexes the imputation, while
#' \code{.rownr} links the rows to the rows of the original data.
#' In cross-sectional datasets the
#' variable \code{.id} is added as subject identifier.
#'
#' @param dtimp imputed complete data sets from \code{remiod} function.
#' @param treatment treatment variable.


tang_MI_RB = function(object, dtimp, treatment, method="MAR", delta=0, ord_cov_dummy=FALSE,
exclude_chains=NULL, include=FALSE, thin=1){
Expand Down
9 changes: 7 additions & 2 deletions man/clm_MI_CR.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions man/clm_MI_J2R.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 9 additions & 4 deletions man/clm_MI_delta.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion man/get_MI_RB.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions man/tang_MI_RB.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f58e50c

Please sign in to comment.