knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(AutostatR)
Palettes are from Few, S. (2012) Show Me the Numbers: Designing Tables and Graphs to Enlighten. 2nd edition. https://www.perceptualedge.com/articles/visual_business_intelligence/rules_for_using_color.pdf
make_palette("RdBu",show = T)
library(survival) lung$sex <- factor(lung$sex) tphistogram(lung,x="age",y="sex")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.