diff --git a/R/ae_forestly.R b/R/ae_forestly.R index 1bf1a9a..c377f2b 100644 --- a/R/ae_forestly.R +++ b/R/ae_forestly.R @@ -33,9 +33,6 @@ #' meta_forestly( #' dataset_adsl = adsl, #' dataset_adae = adae, -#' population_term = "apat", -#' observation_term = "wk12", -#' parameter = "any;rel" #' ) |> #' prepare_ae_forestly() |> #' format_ae_forestly() |> diff --git a/R/format_ae_forestly.R b/R/format_ae_forestly.R index 44a7599..f777504 100644 --- a/R/format_ae_forestly.R +++ b/R/format_ae_forestly.R @@ -46,10 +46,7 @@ #' adae <- forestly_adae[1:100,] #' meta_forestly( #' dataset_adsl = adsl, -#' dataset_adae = adae, -#' population_term = "apat", -#' observation_term = "wk12", -#' parameter = "any;rel" +#' dataset_adae = adae #' ) |> #' prepare_ae_forestly()|> #' format_ae_forestly() diff --git a/R/meta_forestly.R b/R/meta_forestly.R index 956f88b..81bc2a5 100644 --- a/R/meta_forestly.R +++ b/R/meta_forestly.R @@ -38,14 +38,14 @@ #' forestly_adsl, #' forestly_adae, #' population_term = "apat", -#' observation_term = "wk12", +#' observation_term = "safety", #' parameter_term = "any;rel" #' ) meta_forestly <- function( dataset_adsl, dataset_adae, - population_term, - observation_term, + population_term = "apat", + observation_term = "safety", parameter_term = "any;rel", population_subset = SAFFL == "Y", observation_subset = SAFFL == "Y", diff --git a/R/prepare_ae_forestly.R b/R/prepare_ae_forestly.R index f1b2ff4..4ee2fe2 100644 --- a/R/prepare_ae_forestly.R +++ b/R/prepare_ae_forestly.R @@ -33,10 +33,7 @@ #' adae <- forestly_adae[1:100,] #' meta_forestly( #' dataset_adsl = adsl, -#' dataset_adae = adae, -#' population_term = "apat", -#' observation_term = "wk12", -#' parameter = "any;rel" +#' dataset_adae = adae #' ) |> #' prepare_ae_forestly() prepare_ae_forestly <- function( diff --git a/README.md b/README.md index a3e0b8f..6b8fe6c 100644 --- a/README.md +++ b/README.md @@ -56,9 +56,7 @@ library("forestly") meta_forestly( forestly_adsl, - forestly_adae, - population_term = "apat", - observation_term = "wk12" + forestly_adae ) |> prepare_ae_forestly(parameter = "any;rel;ser") |> format_ae_forestly() |> diff --git a/man/ae_forestly.Rd b/man/ae_forestly.Rd index ff34e4a..03bd816 100644 --- a/man/ae_forestly.Rd +++ b/man/ae_forestly.Rd @@ -26,9 +26,6 @@ if (interactive()) { meta_forestly( dataset_adsl = adsl, dataset_adae = adae, - population_term = "apat", - observation_term = "wk12", - parameter = "any;rel" ) |> prepare_ae_forestly() |> format_ae_forestly() |> diff --git a/man/format_ae_forestly.Rd b/man/format_ae_forestly.Rd index d58ec7c..455c0ec 100644 --- a/man/format_ae_forestly.Rd +++ b/man/format_ae_forestly.Rd @@ -63,10 +63,7 @@ adsl <- forestly_adsl[1:100,] adae <- forestly_adae[1:100,] meta_forestly( dataset_adsl = adsl, - dataset_adae = adae, - population_term = "apat", - observation_term = "wk12", - parameter = "any;rel" + dataset_adae = adae ) |> prepare_ae_forestly()|> format_ae_forestly() diff --git a/man/meta_forestly.Rd b/man/meta_forestly.Rd index 2db8ca5..28aa016 100644 --- a/man/meta_forestly.Rd +++ b/man/meta_forestly.Rd @@ -7,8 +7,8 @@ meta_forestly( dataset_adsl, dataset_adae, - population_term, - observation_term, + population_term = "apat", + observation_term = "safety", parameter_term = "any;rel", population_subset = SAFFL == "Y", observation_subset = SAFFL == "Y", @@ -45,7 +45,7 @@ meta_forestly( forestly_adsl, forestly_adae, population_term = "apat", - observation_term = "wk12", + observation_term = "safety", parameter_term = "any;rel" ) } diff --git a/man/prepare_ae_forestly.Rd b/man/prepare_ae_forestly.Rd index db6e851..1175197 100644 --- a/man/prepare_ae_forestly.Rd +++ b/man/prepare_ae_forestly.Rd @@ -47,10 +47,7 @@ adsl <- forestly_adsl[1:100,] adae <- forestly_adae[1:100,] meta_forestly( dataset_adsl = adsl, - dataset_adae = adae, - population_term = "apat", - observation_term = "wk12", - parameter = "any;rel" + dataset_adae = adae ) |> prepare_ae_forestly() } diff --git a/vignettes/forestly-cran.Rmd b/vignettes/forestly-cran.Rmd index 3674e0a..fda4d13 100644 --- a/vignettes/forestly-cran.Rmd +++ b/vignettes/forestly-cran.Rmd @@ -18,9 +18,7 @@ forestly_adae$TRTA <- factor(forestly_adae$TRTA, levels = c("Xanomeline Low Dose meta_forestly( dataset_adsl = forestly_adsl, - dataset_adae = forestly_adae, - population_term = "apat", - observation_term = "wk12" + dataset_adae = forestly_adae ) |> prepare_ae_forestly(parameter = "any;rel;ser") |> format_ae_forestly() |> diff --git a/vignettes/forestly.Rmd b/vignettes/forestly.Rmd index e954446..92dce64 100644 --- a/vignettes/forestly.Rmd +++ b/vignettes/forestly.Rmd @@ -50,8 +50,6 @@ forestly_adae$TRTA <- factor(forestly_adae$TRTA, levels = c("Xanomeline Low Dose meta_forestly( dataset_adsl = forestly_adsl, dataset_adae = forestly_adae, - population_term = "apat", - observation_term = "wk12", parameter_term = "any;rel;ser" ) |> prepare_ae_forestly() |> @@ -89,8 +87,6 @@ to generate the interactive forest plot. meta_forestly( dataset_adsl = forestly_adsl, dataset_adae = forestly_adae, - population_term = "apat", - observation_term = "wk12", parameter_term = "any;rel;ser" ) ``` diff --git a/vignettes/layout.Rmd b/vignettes/layout.Rmd index 0344f13..1d01856 100644 --- a/vignettes/layout.Rmd +++ b/vignettes/layout.Rmd @@ -40,8 +40,6 @@ The `outdata` contains all the parameters required to generate the interactive f metadata <- meta_forestly( dataset_adsl = forestly_adsl_3grp, dataset_adae = forestly_adae_3grp, - population_term = "apat", - observation_term = "wk12", parameter_term = "any;rel;ser" )