#'
#' Plot compared histograms of a single parameter (scalar)
#'
+#' @name plotHist
+#'
#' @param mr Output of multiRun(), list of lists of functions results
#' @param x Row index of the element inside the aggregated parameter
#' @param y Column index of the element inside the aggregated parameter
plotHist <- function(mr, x, y, ...)
{
params <- .extractParam(mr, x, y)
- L = length(params)
+ L <- length(params)
# Plot histograms side by side
par(mfrow=c(1,L), cex.axis=1.5, cex.lab=1.5, mar=c(4.7,5,1,1))
args <- list(...)
}
}
+# NOTE: roxygen2 bug, "@inheritParams plotHist" fails in next header:
+
#' plotBox
#'
#' Draw compared boxplots of a single parameter (scalar)
#'
-#' @inheritParams plotHist
+#' @name plotBox
+#'
+#' @param mr Output of multiRun(), list of lists of functions results
+#' @param x Row index of the element inside the aggregated parameter
+#' @param y Column index of the element inside the aggregated parameter
+#' @param ... Additional graphical parameters (xlab, ylab, ...)
#'
#' @examples
#' \donttest{
plotBox <- function(mr, x, y, ...)
{
params <- .extractParam(mr, x, y)
- L = length(params)
+ L <- length(params)
# Plot boxplots side by side
par(mfrow=c(1,L), cex.axis=1.5, cex.lab=1.5, mar=c(4.7,5,1,1))
args <- list(...)
#' Note that the drawing does not correspond to a function; it is just a
#' convenient way to visualize the estimated parameters.
#'
+#' @name plotCoefs
+#'
#' @param mr List of parameters matrices
#' @param params True value of the parameters matrix
#' @param ... Additional graphical parameters