diff --git a/R/analyze.R b/R/analyze.R index 0f011f8..c446614 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{Student}}). In a first-step, the data is summarized to produce these +#' \code{\link[adoptr::Student]{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 b14a957..f98208e 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{hcubature}} function. +#' They are handed down to the \code{\link[cubature::hcubature]{hcubature}} function. #' @md #' #' @param score performance measure to evaluate. diff --git a/R/plot.R b/R/plot.R index f72d0ea..15be7ba 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}} object visualizing the score values. +#' @returns a \code{\link[ggplot2::ggplot]{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}} object visualizing the p-values on a grid of possible test-statistic values. +#' @returns a \code{\link[ggplot2::ggplot]{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 c7536c0..e3ee75e 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{Student}}). In a first-step, the data is summarized to produce these +\code{\link[adoptr::Student]{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 9d16571..644d51c 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{hcubature}} function. +They are handed down to the \code{\link[cubature::hcubature]{hcubature}} function. } } \examples{ diff --git a/man/evaluate_estimator.Rd b/man/evaluate_estimator.Rd index 014b567..bca7156 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{hcubature}} function. +They are handed down to the \code{\link[cubature::hcubature]{hcubature}} function. } } \examples{ diff --git a/man/plot-EstimatorScoreResult-method.Rd b/man/plot-EstimatorScoreResult-method.Rd index 2b0230d..38644cc 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}} object visualizing the score values. +a \code{\link[ggplot2::ggplot]{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 8617358..5be7f43 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}} object visualizing the score values. +a \code{\link[ggplot2::ggplot]{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 d1c2125..ecaa2f1 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}} object visualizing the score values. +a \code{\link[ggplot2::ggplot]{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 9263800..d001915 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}} object visualizing the p-values on a grid of possible test-statistic values. +a \code{\link[ggplot2::ggplot]{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