Procházet zdrojové kódy

use logical `NA` that can be cast to character

pull/82/head
Teun van den Brand před 11 měsíci
rodič
revize
8264707848
2 změnil soubory, kde provedl 7 přidání a 2 odebrání
  1. +3
    -1
      R/ggplot2.R
  2. +4
    -1
      man/scale_xaringan.Rd

+ 3
- 1
R/ggplot2.R Zobrazit soubor

color = NULL, color = NULL,
begin = 0, begin = 0,
end = 1, end = 1,
inverse = FALSE
inverse = FALSE,
na.value = NA
) { ) {
requires_package("ggplot2", "scale_xaringan_continuous") requires_package("ggplot2", "scale_xaringan_continuous")
requires_package("scales", "scale_xaringan_continuous") requires_package("scales", "scale_xaringan_continuous")
palette = scales::gradient_n_pal(colors, values = NULL), palette = scales::gradient_n_pal(colors, values = NULL),
rescaler = rescaler, rescaler = rescaler,
oob = scales::censor, oob = scales::censor,
na.value = na.value,
... ...
) )
} }

+ 4
- 1
man/scale_xaringan.Rd Zobrazit soubor

color = NULL, color = NULL,
begin = 0, begin = 0,
end = 1, end = 1,
inverse = FALSE
inverse = FALSE,
na.value = NA
) )


scale_xaringan_fill_continuous( scale_xaringan_fill_continuous(
\item{begin}{Number in the range of \code{[0, 1]} indicating to which point in the color scale the smallest data value should be mapped.} \item{begin}{Number in the range of \code{[0, 1]} indicating to which point in the color scale the smallest data value should be mapped.}


\item{end}{Number in the range of \code{[0, 1]} indicating to which point in the color scale the largest data value should be mapped.} \item{end}{Number in the range of \code{[0, 1]} indicating to which point in the color scale the largest data value should be mapped.}

\item{na.value}{Color to be used for missing data points.}
} }
\description{ \description{
\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#maturing}{\figure{lifecycle-maturing.svg}{options: alt='[Maturing]'}}}{\strong{[Maturing]}} \ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#maturing}{\figure{lifecycle-maturing.svg}{options: alt='[Maturing]'}}}{\strong{[Maturing]}}

Načítá se…
Zrušit
Uložit