-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadd_discrete_palette.Rd
32 lines (28 loc) · 1.02 KB
/
add_discrete_palette.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fn_add.R
\name{add_discrete_palette}
\alias{add_discrete_palette}
\title{Add discrete palette}
\usage{
add_discrete_palette(
plot_plt,
colours_chr = c("#de2d26", "#fc9272"),
missing_1L_chr = "grey50",
type_1L_chr = c("ggsci", "manual", "viridis"),
what_1L_chr = "lancet"
)
}
\arguments{
\item{plot_plt}{Plot (a plot)}
\item{colours_chr}{Colours (a character vector), Default: c("#de2d26", "#fc9272")}
\item{missing_1L_chr}{Missing (a character vector of length one), Default: 'grey50'}
\item{type_1L_chr}{Type (a character vector of length one), Default: c("ggsci", "manual", "viridis")}
\item{what_1L_chr}{What (a character vector of length one), Default: 'lancet'}
}
\value{
Plot (a plot)
}
\description{
add_discrete_palette() is an Add function that updates an object by adding new values to new or empty fields. Specifically, this function implements an algorithm to add discrete palette. The function returns Plot (a plot).
}
\keyword{internal}