Skip to content

Commit

Permalink
docs: fix vignettes
Browse files Browse the repository at this point in the history
  • Loading branch information
vedhav committed Nov 15, 2023
1 parent efe3e2c commit 834af39
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 18 deletions.
7 changes: 4 additions & 3 deletions vignettes/using-association-plot.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,10 @@ data <- within(data, {
TRUE ~ "-"
)))
})
datanames(data) <- c("ADSL", "ADSL2", "ADRS", "ADTTE", "ADLB")
join_keys(data) <- default_cdisc_join_keys[c("ADSL", "ADRS", "ADTTE", "ADLB")]
join_keys(data)["ADSL2"] <- get_cdisc_keys("ADSL")
datanames <- c("ADSL", "ADSL2", "ADRS", "ADTTE", "ADLB")
datanames(data) <- datanames
join_keys(data) <- default_cdisc_join_keys[datanames]
join_keys(data)[["ADSL2"]] <- list(ADSL2 = c("STUDYID", "USUBJID"))
# nolint end
app <- teal::init(
Expand Down
7 changes: 4 additions & 3 deletions vignettes/using-bivariate-plot.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,10 @@ data <- within(data, {
TRUE ~ "-"
)))
})
datanames(data) <- c("ADSL", "ADSL2", "ADRS", "ADTTE", "ADLB")
join_keys(data) <- default_cdisc_join_keys[c("ADSL", "ADRS", "ADTTE", "ADLB")]
join_keys(data)["ADSL2"] <- get_cdisc_keys("ADSL")
datanames <- c("ADSL", "ADSL2", "ADRS", "ADTTE", "ADLB")
datanames(data) <- datanames
join_keys(data) <- default_cdisc_join_keys[datanames]
join_keys(data)[["ADSL2"]] <- list(ADSL2 = c("STUDYID", "USUBJID"))
# nolint end
```

Expand Down
7 changes: 4 additions & 3 deletions vignettes/using-regression-plots.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,10 @@ data <- within(data, {
TRUE ~ "-"
)))
})
datanames(data) <- c("ADSL", "ADSL2", "ADRS", "ADTTE", "ADLB")
join_keys(data) <- default_cdisc_join_keys[c("ADSL", "ADRS", "ADTTE", "ADLB")]
join_keys(data)["ADSL2"] <- get_cdisc_keys("ADSL")
datanames <- c("ADSL", "ADSL2", "ADRS", "ADTTE", "ADLB")
datanames(data) <- datanames
join_keys(data) <- default_cdisc_join_keys[datanames]
join_keys(data)[["ADSL2"]] <- list(ADSL2 = c("STUDYID", "USUBJID"))
# nolint end
```

Expand Down
7 changes: 4 additions & 3 deletions vignettes/using-response-plot.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ data <- within(data, {
TRUE ~ "-"
)))
})
datanames(data) <- c("ADSL", "ADSL2", "ADRS", "ADTTE", "ADLB")
join_keys(data) <- default_cdisc_join_keys[c("ADSL", "ADRS", "ADTTE", "ADLB")]
join_keys(data)["ADSL2"] <- get_cdisc_keys("ADSL")
datanames <- c("ADSL", "ADSL2", "ADRS", "ADTTE", "ADLB")
datanames(data) <- datanames
join_keys(data) <- default_cdisc_join_keys[datanames]
join_keys(data)[["ADSL2"]] <- list(ADSL2 = c("STUDYID", "USUBJID"))
# nolint end
```

Expand Down
7 changes: 4 additions & 3 deletions vignettes/using-scatterplot-matrix.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,10 @@ data <- within(data, {
TRUE ~ "-"
)))
})
datanames(data) <- c("ADSL", "ADSL2", "ADRS", "ADTTE", "ADLB")
join_keys(data) <- default_cdisc_join_keys[c("ADSL", "ADRS", "ADTTE", "ADLB")]
join_keys(data)["ADSL2"] <- get_cdisc_keys("ADSL")
datanames <- c("ADSL", "ADSL2", "ADRS", "ADTTE", "ADLB")
datanames(data) <- datanames
join_keys(data) <- default_cdisc_join_keys[datanames]
join_keys(data)[["ADSL2"]] <- list(ADSL2 = c("STUDYID", "USUBJID"))
# nolint end
```

Expand Down
7 changes: 4 additions & 3 deletions vignettes/using-scatterplot.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,10 @@ data <- within(data, {
TRUE ~ "-"
)))
})
datanames(data) <- c("ADSL", "ADSL2", "ADRS", "ADTTE", "ADLB")
join_keys(data) <- default_cdisc_join_keys[c("ADSL", "ADRS", "ADTTE", "ADLB")]
join_keys(data)["ADSL2"] <- get_cdisc_keys("ADSL")
datanames <- c("ADSL", "ADSL2", "ADRS", "ADTTE", "ADLB")
datanames(data) <- datanames
join_keys(data) <- default_cdisc_join_keys[datanames]
join_keys(data)[["ADSL2"]] <- list(ADSL2 = c("STUDYID", "USUBJID"))
# nolint end
```

Expand Down

0 comments on commit 834af39

Please sign in to comment.