diff --git a/DESCRIPTION b/DESCRIPTION index fdc2d7e..826d7f8 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: broman -Version: 0.72-2 -Date: 2020-12-10 +Version: 0.72-3 +Date: 2021-01-05 Title: Karl Broman's R Code Description: Miscellaneous R functions, including functions related to graphics (mostly for base graphics), permutation tests, running diff --git a/NEWS b/NEWS index c18fe65..67a21d9 100644 --- a/NEWS +++ b/NEWS @@ -1,7 +1,7 @@ Revision history for the R/broman package ----------------------------------------- -Version 0.72-2, 2020-12-10 +Version 0.72-3, 2021-01-05 Changed default max_jiggle in dotplot() to 0.45 (rather than NULL). Similarly changed default for maxvalue in jiggle() to 0.45. diff --git a/R/grayplot.R b/R/grayplot.R index 94166fb..52ac70b 100644 --- a/R/grayplot.R +++ b/R/grayplot.R @@ -43,7 +43,7 @@ #' the horizontal ones. #' #' @details -#' Calls [base::plot()] with `type="n"`, then [graphics::rect()] to +#' Calls `plot()` with `type="n"`, then [graphics::rect()] to #' get the background, and then [graphics::points()]. Additional #' arguments you can include: `mgp.x` and `mgp.y` (like `mgp`, for #' controlling parameters of axis labels, but separate for x- and @@ -67,7 +67,7 @@ #' vlines=seq(0, 100, by=5), vlines.lwd=c(3,1,1,1)) #' #' @seealso -#' [base::plot()], [graphics::par()], [graphics::rect()], [graphics::points()] +#' [graphics::par()], [graphics::rect()], [graphics::points()] #' #' @keywords #' graphics diff --git a/R/grayplot_na.R b/R/grayplot_na.R index 87036e2..445b368 100644 --- a/R/grayplot_na.R +++ b/R/grayplot_na.R @@ -26,7 +26,7 @@ #' @param ... Optional graphics arguments #' #' @details -#' Calls [base::plot()] with `type="n", then +#' Calls `plot()` with `type="n", then #' [graphics::rect()] to get the background, and then #' [graphics::points()]. #' diff --git a/R/holmans_triangle.R b/R/holmans_triangle.R index 8346ac0..1dca325 100644 --- a/R/holmans_triangle.R +++ b/R/holmans_triangle.R @@ -18,7 +18,7 @@ #' @param grid_lty Line type of grid lines #' @param grid_lwd Line width of grid lines #' -#' @param ... Passed to [base::plot()]. +#' @param ... Passed to `plot()`. #' #' @details #' Plot of an equilateral triangle, in order to depict trinomial diff --git a/R/mypairs.R b/R/mypairs.R index afa00e9..b2e1b71 100644 --- a/R/mypairs.R +++ b/R/mypairs.R @@ -11,7 +11,7 @@ #' #' @param x A numeric matrix or data frame. #' -#' @param ... Passed to the [base::plot()] function. +#' @param ... Passed to the `plot()` function. #' #' @details #' This is like the function [graphics::pairs()], but diff --git a/man/grayplot.Rd b/man/grayplot.Rd index e6cd68e..05f58a4 100644 --- a/man/grayplot.Rd +++ b/man/grayplot.Rd @@ -74,7 +74,7 @@ Like the plot function, but using a gray background just for the plot region. } \details{ -Calls \code{\link[base:plot]{base::plot()}} with \code{type="n"}, then \code{\link[graphics:rect]{graphics::rect()}} to +Calls \code{plot()} with \code{type="n"}, then \code{\link[graphics:rect]{graphics::rect()}} to get the background, and then \code{\link[graphics:points]{graphics::points()}}. Additional arguments you can include: \code{mgp.x} and \code{mgp.y} (like \code{mgp}, for controlling parameters of axis labels, but separate for x- and @@ -93,6 +93,6 @@ grayplot(x, col="Orchid", pch=16, bgcolor="gray80", } \seealso{ -\code{\link[base:plot]{base::plot()}}, \code{\link[graphics:par]{graphics::par()}}, \code{\link[graphics:rect]{graphics::rect()}}, \code{\link[graphics:points]{graphics::points()}} +\code{\link[graphics:par]{graphics::par()}}, \code{\link[graphics:rect]{graphics::rect()}}, \code{\link[graphics:points]{graphics::points()}} } \keyword{graphics} diff --git a/man/grayplot_na.Rd b/man/grayplot_na.Rd index 17b6239..1db7b7c 100644 --- a/man/grayplot_na.Rd +++ b/man/grayplot_na.Rd @@ -48,7 +48,7 @@ Scatterplot with a gray background and with points with missing values shown in separate panels near the margins. } \details{ -Calls \code{\link[base:plot]{base::plot()}} with `type="n", then +Calls \code{plot()} with `type="n", then \code{\link[graphics:rect]{graphics::rect()}} to get the background, and then \code{\link[graphics:points]{graphics::points()}}. diff --git a/man/mypairs.Rd b/man/mypairs.Rd index 1c6d6bf..b404ca3 100644 --- a/man/mypairs.Rd +++ b/man/mypairs.Rd @@ -9,7 +9,7 @@ mypairs(x, ...) \arguments{ \item{x}{A numeric matrix or data frame.} -\item{...}{Passed to the \code{\link[base:plot]{base::plot()}} function.} +\item{...}{Passed to the \code{plot()} function.} } \value{ None. diff --git a/man/triplot.Rd b/man/triplot.Rd index 7591af5..396edc5 100644 --- a/man/triplot.Rd +++ b/man/triplot.Rd @@ -33,7 +33,7 @@ triplot( \item{grid_lwd}{Line width of grid lines} -\item{...}{Passed to \code{\link[base:plot]{base::plot()}}.} +\item{...}{Passed to \code{plot()}.} } \value{ The (x,y) coordinates of the points plotted, if any.