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)
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:
add_colored_str('Example - Warning', color=c(255,0,0), bold=TRUE, fontsize=1.5)
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:
add_colored_box(type='yellow-warning', info='Here is the warning message.')
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.