View source: R/epi_output_name.R
epi_output_name | R Documentation |
Generate a simple output name, given a string (filename) splits at the last '.', drops the current suffix and adds the one provided.
epi_output_name(input_name = "", suffix = ".tsv")
input_name |
string to split, usually an input file name previously saved as an object |
suffix |
any string you wish to add, default is '.tsv' |
string value
Antonio Berlanga-Taylor <\url{https://github.com/AntonioJBT/episcout}>
## Not run:
input_name <- 'baseline_clean.RData'
svg(epi_output_name(input_name, '_histogram_obesity_1.svg'))
plot(x, y)
dev.off()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.