Description Usage Arguments Value Author(s) Examples
View source: R/epi_output_name.R
Generate a simple output name, given a string (filename) splits at the last '.', drops the current suffix and adds the one provided.
1 | 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 <https://github.com/AntonioJBT/episcout>
1 2 3 4 5 6 7 | ## 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.