Skip to content

Commit

Permalink
update g_lineplot variable names. (#137)
Browse files Browse the repository at this point in the history
closes #136 

merge after:

- [x] merging [this
PR](insightsengineering/tern#1106) in tern
- [x] Update tern package version in DESCRIPTION
  • Loading branch information
ayogasekaram authored Nov 1, 2023
1 parent 0dfc5c2 commit af743b9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
8 changes: 4 additions & 4 deletions book/graphs/pharmacokinetic/pkcg03.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ result <- g_lineplot(
variables = control_lineplot_vars(
x = "NFRLT",
y = "AVAL",
strata = "ARM",
group_var = "ARM",
paramcd = "PARAM",
y_unit = "AVALU",
cohort_id = "USUBJID"
subject_var = "USUBJID"
),
alt_counts_df = adsl_f,
y_lab = "Concentration",
Expand Down Expand Up @@ -78,10 +78,10 @@ result <- g_lineplot(
variables = control_lineplot_vars(
x = "NFRLT",
y = "avalog",
strata = "ARM",
group_var = "ARM",
paramcd = "PARAM",
y_unit = "AVALU",
cohort_id = "USUBJID"
subject_var = "USUBJID"
),
alt_counts_df = adsl_f,
y_lab = "Concentration",
Expand Down
5 changes: 2 additions & 3 deletions book/graphs/pharmacokinetic/pkpg01.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ result <- g_lineplot(
variables = control_lineplot_vars(
x = "Time",
y = "AVAL",
strata = "ARM",
group_var = "ARM",
paramcd = "PARAM1",
y_unit = "AVALU"
),
Expand Down Expand Up @@ -112,7 +112,7 @@ result <- g_lineplot(
variables = control_lineplot_vars(
x = "Time",
y = "AVAL",
strata = "ARM",
group_var = "ARM",
paramcd = "PARAM1",
y_unit = "AVALU"
),
Expand Down Expand Up @@ -146,5 +146,4 @@ plot
```

{{< include ../../repro.qmd >}}

:::
2 changes: 1 addition & 1 deletion package/DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Suggests:
teal (>= 0.12.0.9003),
teal.modules.clinical,
teal.modules.general (>= 0.2.15),
tern (>= 0.9.1.9011),
tern (>= 0.9.2.9005),
tern.mmrm,
tern.rbmi,
tibble,
Expand Down

0 comments on commit af743b9

Please sign in to comment.