msg {MSG} | R Documentation |
Plot a graph with a pre-installed R script
Description
Plot a graph with a pre-installed R script
Usage
msg(fig = "3.6", show_code = TRUE, print_plot = TRUE, filter = 0)
Arguments
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). |
Value
A graph and the source code
Examples
# msg('3.6') msg('ChinaPop')
[Package MSG version 0.8 Index]