R/colours.R

Defines functions create_sheet_colours

#'
#'@title Create colours for sheets and index
#'@description This function generates a colour palette based on input colours, for the sheets and index
#'@param colours A character vector of hex colours, or the name of one of the matplotlib palettes included in the package "viridis"
#'@param num_colours An integer representing the number of colours needed, to be interpolated from the colours vector
#'@return A character vector of hex colours
#'

create_sheet_colours <- function(colours, num_colours) {
  
}
chris-dangerfield/printsheet documentation built on July 9, 2020, 4 p.m.