Преглед изворни кода

Change formatting of colorspace function links in roxygen

tags/v0.3.0
Garrick Aden-Buie пре 6 година
родитељ
комит
f7284abf41
2 измењених фајлова са 8 додато и 8 уклоњено
  1. +4
    -4
      R/ggplot2.R
  2. +4
    -4
      man/scale_xaringan.Rd

+ 4
- 4
R/ggplot2.R Прегледај датотеку

#' created using the primary accent color of the xaringanthemer styles. #' created using the primary accent color of the xaringanthemer styles.
#' #'
#' @param ... Arguments passed on to either the \pkg{colorspace} scale #' @param ... Arguments passed on to either the \pkg{colorspace} scale
#' functions — one of [colorspace::scale_color_discrete_sequential],
#' [colorspace::scale_color_continuous_sequential],
#' [colorspace::scale_fill_discrete_sequential], or
#' [colorspace::scale_fill_continuous_sequential] — or to
#' functions — one of [colorspace::scale_color_discrete_sequential()],
#' [colorspace::scale_color_continuous_sequential()],
#' [colorspace::scale_fill_discrete_sequential()], or
#' [colorspace::scale_fill_continuous_sequential()] — or to
#' [ggplot2::continuous_scale] or [ggplot2::discrete_scale]. #' [ggplot2::continuous_scale] or [ggplot2::discrete_scale].
#' @param color A color value, in hex, to override the default color. Otherwise, #' @param color A color value, in hex, to override the default color. Otherwise,
#' the primary color of the resulting scale is chosen from the xaringanthemer #' the primary color of the resulting scale is chosen from the xaringanthemer

+ 4
- 4
man/scale_xaringan.Rd Прегледај датотеку

One of "color", "colour", or "fill".} One of "color", "colour", or "fill".}


\item{...}{Arguments passed on to either the \pkg{colorspace} scale \item{...}{Arguments passed on to either the \pkg{colorspace} scale
functions — one of \link[colorspace:scale_color_discrete_sequential]{colorspace::scale_color_discrete_sequential},
\link[colorspace:scale_color_continuous_sequential]{colorspace::scale_color_continuous_sequential},
\link[colorspace:scale_fill_discrete_sequential]{colorspace::scale_fill_discrete_sequential}, or
\link[colorspace:scale_fill_continuous_sequential]{colorspace::scale_fill_continuous_sequential} — or to
functions — one of \code{\link[colorspace:scale_color_discrete_sequential]{colorspace::scale_color_discrete_sequential()}},
\code{\link[colorspace:scale_color_continuous_sequential]{colorspace::scale_color_continuous_sequential()}},
\code{\link[colorspace:scale_fill_discrete_sequential]{colorspace::scale_fill_discrete_sequential()}}, or
\code{\link[colorspace:scale_fill_continuous_sequential]{colorspace::scale_fill_continuous_sequential()}} — or to
\link[ggplot2:continuous_scale]{ggplot2::continuous_scale} or \link[ggplot2:discrete_scale]{ggplot2::discrete_scale}.} \link[ggplot2:continuous_scale]{ggplot2::continuous_scale} or \link[ggplot2:discrete_scale]{ggplot2::discrete_scale}.}


\item{color}{A color value, in hex, to override the default color. Otherwise, \item{color}{A color value, in hex, to override the default color. Otherwise,

Loading…
Откажи
Сачувај