From 4aadfd940164c2c95787841bd80c82e898b65729 Mon Sep 17 00:00:00 2001 From: Dong Xi <38050865+xidongdxi@users.noreply.github.com> Date: Thu, 11 Jul 2024 16:10:02 -0400 Subject: [PATCH] updated test_values.R --- R/graph_create.R | 4 +++- R/test_values.R | 7 ++++++- codemeta.json | 2 +- man/graph_create.Rd | 4 +++- man/test_values.Rd | 6 ++++-- 5 files changed, 17 insertions(+), 6 deletions(-) diff --git a/R/graph_create.R b/R/graph_create.R index 33e2b00..5d9c4a8 100644 --- a/R/graph_create.R +++ b/R/graph_create.R @@ -101,7 +101,9 @@ #' H3 = c(0, 1, 0, 0), #' H4 = c(1, 0, 0, 0) #' ) -#' \dontrun{g <- graph_create(hypotheses, transitions)} +#' \dontrun{ +#' g <- graph_create(hypotheses, transitions) +#' } #' #' # When names are not specified, hypotheses are numbered sequentially as #' # H1, H2, ... diff --git a/R/test_values.R b/R/test_values.R index 7997809..1921d28 100644 --- a/R/test_values.R +++ b/R/test_values.R @@ -1,4 +1,9 @@ -#' Tests for an intersection hypothesis +#' Organize outputs for testing an intersection hypothesis +#' +#' @description +#' An intersection hypothesis can be tested by a mixture of test types including +#' Bonferroni, parametric and Simes tests. This function organize outputs of +#' testing and prepare them for `graph_report`. #' #' @inheritParams graph_test_closure #' @inheritParams graph_create diff --git a/codemeta.json b/codemeta.json index e7b25b9..7c47dcc 100644 --- a/codemeta.json +++ b/codemeta.json @@ -312,7 +312,7 @@ }, "SystemRequirements": null }, - "fileSize": "727.413KB", + "fileSize": "718.983KB", "citation": [ { "@type": "SoftwareSourceCode", diff --git a/man/graph_create.Rd b/man/graph_create.Rd index 2bd9983..7b339a1 100644 --- a/man/graph_create.Rd +++ b/man/graph_create.Rd @@ -101,7 +101,9 @@ transitions <- rbind( H3 = c(0, 1, 0, 0), H4 = c(1, 0, 0, 0) ) -\dontrun{g <- graph_create(hypotheses, transitions)} +\dontrun{ +g <- graph_create(hypotheses, transitions) +} # When names are not specified, hypotheses are numbered sequentially as # H1, H2, ... diff --git a/man/test_values.Rd b/man/test_values.Rd index 89c9d71..8ca025f 100644 --- a/man/test_values.Rd +++ b/man/test_values.Rd @@ -4,7 +4,7 @@ \alias{test_values_bonferroni} \alias{test_values_parametric} \alias{test_values_simes} -\title{Tests for an intersection hypothesis} +\title{Organize outputs for testing an intersection hypothesis} \usage{ test_values_bonferroni(p, hypotheses, alpha, intersection = NA) @@ -63,7 +63,9 @@ the hypothesis weight times \eqn{\alpha}. } } \description{ -Tests for an intersection hypothesis +An intersection hypothesis can be tested by a mixture of test types including +Bonferroni, parametric and Simes tests. This function organize outputs of +testing and prepare them for \code{graph_report}. } \references{ Bretz, F., Maurer, W., Brannath, W., and Posch, M. (2009). A graphical