Skip to content

Commit 2898476

Browse files
committed
r/ Fix use of references.
1 parent 8f31575 commit 2898476

File tree

5 files changed

+27
-22
lines changed

5 files changed

+27
-22
lines changed

r/R/eafplot.R

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
#' Plot the Empirical Attainment Function for two objectives
22
#'
3-
#' Computes and plots the Empirical Attainment Function, either as
3+
#' Computes and plots the Empirical Attainment Function (EAF), either as
44
#' attainment surfaces for certain percentiles or as points.
55
#'
66
#' This function can be used to plot random sets of points like those obtained
7-
#' by different runs of biobjective stochastic optimisation algorithms \citep{LopPaqStu09emaa}. An EAF
8-
#' curve represents the boundary separating points that are known to be
9-
#' attainable (that is, dominated in Pareto sense) in at least a fraction
10-
#' (quantile) of the runs from those that are not \citep{Grunert01}. The median EAF represents
11-
#' the curve where the fraction of attainable points is 50%. In single
12-
#' objective optimisation the function can be used to plot the profile of
13-
#' solution quality over time of a collection of runs of a stochastic optimizer. \citep{LopVerDreDoe2025}.
7+
#' by different runs of biobjective stochastic optimisation algorithms
8+
#' \citep{LopPaqStu09emaa}{moocore}. An EAF curve represents the boundary
9+
#' separating points that are known to be attainable (that is, dominated in
10+
#' Pareto sense) in at least a fraction (quantile) of the runs from those that
11+
#' are not \citep{Grunert01}{moocore}. The median EAF represents the curve
12+
#' where the fraction of attainable points is 50%. In single objective
13+
#' optimisation the function can be used to plot the profile of solution
14+
#' quality over time of a collection of runs of a stochastic
15+
#' optimizer \citep{LopVerDreDoe2025}{mooplot}.
1416
#'
1517
#' @param x Either a matrix of data values, or a data frame, or a list of
1618
#' data frames of exactly three columns.
@@ -66,7 +68,7 @@ eafplot <- function(x, ...) UseMethod("eafplot")
6668
#' @param axes (`logical(1)`)\cr A logical value indicating whether both axes should be drawn
6769
#' on the plot.
6870
#'
69-
#' @param sci.notation Generate prettier labels
71+
#' @param sci.notation (`logical(1)`)\cr Generate prettier labels
7072
#'
7173
#' @param ... Other graphical parameters to [plot.default()].
7274
#'

r/R/interactive.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#' Creates the same plot as [eafdiffplot()] but waits for the user to click in
44
#' one of the sides. Then it returns the rectangles the give the differences in
55
#' favour of the chosen side. These rectangles may be used for interactive
6-
#' decision-making as shown in \citet{DiaLop2020ejor}. The function
6+
#' decision-making as shown in \citet{DiaLop2020ejor}{moocore}. The function
77
#' [moocore::choose_eafdiff()] may be used in a non-interactive context.
88
#'
99
#' @inheritParams eafdiffplot

r/man/choose_eafdiffplot.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

r/man/eafplot.Rd

Lines changed: 11 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

r/man/macros/macros.Rd

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
\newcommand{\citep}{\insertCite{#1}{moocore}}
2-
\newcommand{\citet}{\insertCite{#1;textual}{moocore}}
1+
\newcommand{\citep}{\insertCite{#1}{#2}}
2+
\newcommand{\citet}{\insertCite{#1;textual}{#2}}
3+

0 commit comments

Comments
 (0)