Description Usage Arguments Value Examples
This function saves an interactive plot generated with one of the functions of this package as a png image. The result can then be included in documents or presentations.
| 1 | 
| plot | A plot generated with one of the functions of this package. | 
| file | The name of the output file | 
| width | Width of the output file | 
| height | height of the output file | 
| ... | Other parameters passed to function  | 
The function only creates the required file. Nothing is returned
| 1 2 3 4 5 6 | ## Not run: 
  mydata <- readAntares()
  myplot <- plot(mydata, variable = "MRG. PRICE", type = "density")
  savePlotAsPng(myplot, file = "myplot.png")
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.