Adds the legend to the plot. Items to add to the legend are added to the TreatmentPlot object automatically. This is a method of the reference class TreatmentPlot
.
itemsOnRow |
The number of items to display on each row |
mar |
Give the legend a margin (is passed to par). The default is c(0,0,0,0). Each entry corresponds to bottom, left, top, right |
xoffset |
An offset parameter in the x direction. Should be between 0 and 1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.