View source: R/mu_ggplots2_ext.R
| ggsave4doc | R Documentation | 
Wrapper around ggsave that has default values for parameters fitting for embedding plots into my documents
ggsave4doc(
  fn,
  plot = last_plot(),
  width = 192,
  height = 192,
  units = "mm",
  family = "Helvetica",
  dimPreset = NULL,
  useDingbats = FALSE,
  ...
)
fn | 
 file name  | 
plot | 
 see   | 
width | 
 see   | 
height | 
 see   | 
units | 
 see   | 
family | 
 see   | 
dimPreset | 
 presets for figure dimensions. Possible values are   | 
useDingbats | 
 see   | 
... | 
 see   | 
result of ggsave command
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.