The purpose of this package is to share a collection of functions the author wrote during weekends for managing kitchen and garden tasks, e.g. making plant growth charts or Thanksgiving kitchen schedule charts, etc. Functions might include but not limited to: (1) aiding summarizing time related data; (2) generating axis transformation from data; and (3) aiding Markdown
(with HTML
output) and Shiny
files editing.
You can install the newest version of mtb like so:
You can install the development version of mtb like so:
This is a basic example which shows you how to automatically select colors for individual groups by 3 major colors, blue, cyan and orange. The first argument represent group values. The second argument specify the order of a to g, the third argument specifies that group a is assigned to the black color, and group b is assigned to the gray color.
library(mtb)
colvect = color_set_palette(c('a','b','d','c','e','f','g'), c(1,2,4,3,5,6,7),black='a',gray9='b',cols=c('blue', 'cyan','orange'))
This is a basic example which shows you how to quickly test selected colors:
This is a basic example which shows you how to format a string:
Example - Warning
This is an example which shows you how to add a default box:
This is an example which shows you how to add a warning box: