Update to 0.1.6.9000

This commit is contained in:
gnoblet 2022-09-19 15:44:57 -04:00
parent ad98adcf0e
commit 07d6ba9188
38 changed files with 374 additions and 89 deletions

22
man/cols_impact.Rd Normal file
View file

@ -0,0 +1,22 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cols_impact.R
\name{cols_impact}
\alias{cols_impact}
\title{Function to extract IMPACT colors as hex codes}
\usage{
cols_impact(..., unnamed = TRUE)
}
\arguments{
\item{...}{Character names of reach colors. If NULL returns all colors}
\item{unnamed}{Should the output vector be unnamed? Default to `TRUE`}
}
\value{
An hex code or hex codes named or unnamed
}
\description{
Function to extract IMPACT colors as hex codes
}
\details{
This function needs to be modified to add colors
}

31
man/pal_impact.Rd Normal file
View file

@ -0,0 +1,31 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pal_impact.R
\name{pal_impact}
\alias{pal_impact}
\title{Return function to interpolate an IMPACT color palette}
\usage{
pal_impact(
palette = "main",
reverse = FALSE,
color_ramp_palette = FALSE,
show_palettes = FALSE,
...
)
}
\arguments{
\item{palette}{Character name of a palette in IMPACT palettes}
\item{reverse}{Boolean indicating whether the palette should be reversed}
\item{color_ramp_palette}{Should the output be a `grDevices::colorRampPalette` function or a vector of hex codes? Default to the former with `TRUE`}
\item{show_palettes}{Should the ouput be the set of palettes names to pick from? Default to `FALSE`}
\item{...}{Additional arguments to pass to colorRampPalette()}
}
\value{
A color palette
}
\description{
Return function to interpolate an IMPACT color palette
}