print.nfdplot | R Documentation |
save_nfdplot()
is a convenient function for saving nfdplots
. While
print.nfdplot()
prints covers showing the plots when R is in interactive
mode. nfdplot
objects are returned by plot.nfd()
, plot.nfd_stats()
,
and plot.nfd_pdf()
.
## S3 method for class 'nfdplot'
print(x, ...)
save_nfdplot(x, filename, width = NA, height = NA)
x |
An object inheriting from |
... |
Other parameters not used by this method. |
filename |
File name to create on disk. Should be a .png or .pdf file.
If it is a .png file, then it will create multiple files with |
width, height |
Plot size in inches. If not specified, defaults to 7. |
x
is are invisibly returned.
Invisibly returns nfdplot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.