Description Usage Arguments Value Examples
Plot a graph with a pre-installed R script
1 |
fig |
Character. The figure number or the R script name, which is given in the book. |
show_code |
Logical. TRUE means the codes are shown in the console. |
print_plot |
Logical. TRUE means the graph is printed. |
filter |
Integer. The line numbers indicating which lines in the code are displayed (when positive) or hidden (when negative). |
A graph and the source code
1 | # msg('3.6') msg('ChinaPop')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.