diff --git a/R/analyze.R b/R/analyze.R index c446614..2cd5a68 100644 --- a/R/analyze.R +++ b/R/analyze.R @@ -13,7 +13,7 @@ Results <- setClass("Results", slots = c(data ="data.frame", #' #' Note that in \code{\link{adestr}}, statistics are codes as functions of the #' stage-wise sample means (and stage-wise sample variances if data_distribution is -#' \code{\link[adoptr::Student]{Student}}). In a first-step, the data is summarized to produce these +#' \code{\link[adoptr]{Student}}). In a first-step, the data is summarized to produce these #' parameters. Then, the list of statistics are evaluated at the values of these parameters. #' #' The output of the \code{analyze} function also displays information on the hypothesis diff --git a/R/evaluate_estimator.R b/R/evaluate_estimator.R index f98208e..b1bfc0a 100644 --- a/R/evaluate_estimator.R +++ b/R/evaluate_estimator.R @@ -112,7 +112,7 @@ setMethod("c", signature("EstimatorScoreResultList"), definition = #' #' Lastly, the paramters #' \code{tol}, \code{maxEval}, and \code{absError} control the integration accuracy. -#' They are handed down to the \code{\link[cubature::hcubature]{hcubature}} function. +#' They are handed down to the \code{\link[cubature]{hcubature}} function. #' @md #' #' @param score performance measure to evaluate. diff --git a/R/plot.R b/R/plot.R index 15be7ba..01535cc 100644 --- a/R/plot.R +++ b/R/plot.R @@ -12,7 +12,7 @@ #' @export #' @importFrom ggplot2 ggplot scale_x_continuous geom_line facet_wrap #' @importFrom latex2exp TeX -#' @returns a \code{\link[ggplot2::ggplot]{ggplot}} object visualizing the score values. +#' @returns a \code{\link[ggplot2]{ggplot}} object visualizing the score values. #' @examples #' score_result1 <- evaluate_estimator( #' MSE(), @@ -90,7 +90,7 @@ setMethod("plot", signature = "list", definition = #' @param subdivisions number of subdivisions per axis for the grid of test statistic values. #' @param ... additional arguments handed down to ggplot #' -#' @returns a \code{\link[ggplot2::ggplot]{ggplot}} object visualizing the p-values on a grid of possible test-statistic values. +#' @returns a \code{\link[ggplot2]{ggplot}} object visualizing the p-values on a grid of possible test-statistic values. #' #' @export #' @importFrom ggplot2 ggplot geom_tile geom_line geom_segment scale_color_manual scale_fill_gradient scale_x_continuous diff --git a/man/analyze.Rd b/man/analyze.Rd index e3ee75e..3c4bd31 100644 --- a/man/analyze.Rd +++ b/man/analyze.Rd @@ -56,7 +56,7 @@ and \link[adestr:PValue]{p-values} for a given dataset. \details{ Note that in \code{\link{adestr}}, statistics are codes as functions of the stage-wise sample means (and stage-wise sample variances if data_distribution is -\code{\link[adoptr::Student]{Student}}). In a first-step, the data is summarized to produce these +\code{\link[adoptr]{Student}}). In a first-step, the data is summarized to produce these parameters. Then, the list of statistics are evaluated at the values of these parameters. The output of the \code{analyze} function also displays information on the hypothesis diff --git a/man/evaluate_estimator-methods.Rd b/man/evaluate_estimator-methods.Rd index 644d51c..cbf7023 100644 --- a/man/evaluate_estimator-methods.Rd +++ b/man/evaluate_estimator-methods.Rd @@ -393,7 +393,7 @@ on reaching any of the selected integration regions. Lastly, the paramters \code{tol}, \code{maxEval}, and \code{absError} control the integration accuracy. -They are handed down to the \code{\link[cubature::hcubature]{hcubature}} function. +They are handed down to the \code{\link[cubature]{hcubature}} function. } } \examples{ diff --git a/man/evaluate_estimator.Rd b/man/evaluate_estimator.Rd index bca7156..fab18db 100644 --- a/man/evaluate_estimator.Rd +++ b/man/evaluate_estimator.Rd @@ -106,7 +106,7 @@ on reaching any of the selected integration regions. Lastly, the paramters \code{tol}, \code{maxEval}, and \code{absError} control the integration accuracy. -They are handed down to the \code{\link[cubature::hcubature]{hcubature}} function. +They are handed down to the \code{\link[cubature]{hcubature}} function. } } \examples{ diff --git a/man/plot-EstimatorScoreResult-method.Rd b/man/plot-EstimatorScoreResult-method.Rd index 38644cc..81074d8 100644 --- a/man/plot-EstimatorScoreResult-method.Rd +++ b/man/plot-EstimatorScoreResult-method.Rd @@ -15,7 +15,7 @@ of such objects (\code{EstimatorScoreResultList}).} \item{...}{additional arguments handed down to ggplot.} } \value{ -a \code{\link[ggplot2::ggplot]{ggplot}} object visualizing the score values. +a \code{\link[ggplot2]{ggplot}} object visualizing the score values. } \description{ This function extract the values of mu and the score values and a facet plot with diff --git a/man/plot-EstimatorScoreResultList-method.Rd b/man/plot-EstimatorScoreResultList-method.Rd index 5be7f43..4bd94a4 100644 --- a/man/plot-EstimatorScoreResultList-method.Rd +++ b/man/plot-EstimatorScoreResultList-method.Rd @@ -15,7 +15,7 @@ of such objects (\code{EstimatorScoreResultList}).} \item{...}{additional arguments handed down to ggplot.} } \value{ -a \code{\link[ggplot2::ggplot]{ggplot}} object visualizing the score values. +a \code{\link[ggplot2]{ggplot}} object visualizing the score values. } \description{ This function extract the values of mu and the score values and a facet plot with diff --git a/man/plot-list-method.Rd b/man/plot-list-method.Rd index ecaa2f1..184094a 100644 --- a/man/plot-list-method.Rd +++ b/man/plot-list-method.Rd @@ -15,7 +15,7 @@ of such objects (\code{EstimatorScoreResultList}).} \item{...}{additional arguments handed down to ggplot.} } \value{ -a \code{\link[ggplot2::ggplot]{ggplot}} object visualizing the score values. +a \code{\link[ggplot2]{ggplot}} object visualizing the score values. } \description{ This function extract the values of mu and the score values and a facet plot with diff --git a/man/plot_p.Rd b/man/plot_p.Rd index d001915..2719f0f 100644 --- a/man/plot_p.Rd +++ b/man/plot_p.Rd @@ -33,7 +33,7 @@ plot_p( \item{...}{additional arguments handed down to ggplot} } \value{ -a \code{\link[ggplot2::ggplot]{ggplot}} object visualizing the p-values on a grid of possible test-statistic values. +a \code{\link[ggplot2]{ggplot}} object visualizing the p-values on a grid of possible test-statistic values. } \description{ Creates a plot of the p-values and implied rejection boundaries on a grid