Skip to content

Commit

Permalink
Remove the var in the definition of population.
Browse files Browse the repository at this point in the history
  • Loading branch information
niup0 committed Jul 9, 2024
1 parent d03ff45 commit 866280c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions R/meta_sl_example.R
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ meta_sl_example <- function() {
metalite::define_population(
name = "apat",
group = "TRTA",
subset = quote(SAFFL == "Y"),
var = c("USUBJID", "TRTA", "SAFFL", "AGEGR1", "SEX", "RACE", "EOSSTT", "EOTSTT1", "DCSREAS", "DCTREAS", "COMP8FL", "COMP16FL", "COMP24FL")
subset = quote(SAFFL == "Y")
) |>
metalite::define_parameter(
name = "age",
Expand Down Expand Up @@ -179,8 +178,7 @@ meta_sl_exposure_example <- function() {
metalite::define_population(
name = "apat",
group = "TRTA",
subset = quote(APERIOD==1 & AVAL>0),
var = c("USUBJID", "TRTA", "EXDURGR", "AVAL"),
subset = quote(APERIOD==1 & AVAL>0)
) |>
metalite::define_parameter(
name = "expdur",
Expand Down

0 comments on commit 866280c

Please sign in to comment.