The package can be installed by entering, at the command line.
devtools::install_github("jhmaindonald/DAAGviz")
It has vignettes, data, and code, that relate to the R tutorial notes Learning and Exploring R that are available from: https://github.com/jhmaindonald/learnR/blob/master/learnR.pdf There is a vignette, with code for the figures, for each of the chapters:
In the vignettes for Chapters 7 -- 10, a variable doFigs
is set to FALSE
. (In figs7.Rnw, the code is in line
40.) If this is changed to doFigs=TRUE
, then compiling
the vignette should give a PDF file that has (with occasional
exceptions) the figures.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.