Skip to content

Commit

Permalink
close #73 (#78)
Browse files Browse the repository at this point in the history
# Pull Request

<!--- Replace `#nnn` with your issue link for reference. -->

Fixes #nnn
  • Loading branch information
shajoezhu authored Nov 7, 2024
1 parent 20a23b8 commit 70fe297
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions vignettes/tern-rbmi.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,20 @@ editor_options:
---

```{r setup, include = FALSE}
suggested_dependent_pkgs <- c("rstan")
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
comment = "#>",
eval = all(vapply(
suggested_dependent_pkgs,
requireNamespace,
logical(1),
quietly = TRUE
))
)
```


## Introduction to tern.rbmi

---------
Expand Down Expand Up @@ -133,7 +141,7 @@ The `rbmi::draws()` function fits the imputation models and stores the correspon

#### Define key variables

Define the names of key variables in our dataset and the covariates included in
Define the names of key variables in our dataset and the covariates included in
the imputation model using `rbmi::set_vars()`. Note that the covariates argument
can also include interaction terms.

Expand All @@ -149,7 +157,7 @@ draws_vars <- rbmi::set_vars(
draws_vars$subjid <- "TMP_ID"
```

Define which imputation method to use, then create samples for the imputation
Define which imputation method to use, then create samples for the imputation
parameters by running the `draws()` function.

```{r}
Expand Down

0 comments on commit 70fe297

Please sign in to comment.