View source: R/prepQuitteForScatter.R
prepQuitteForScatter | R Documentation |
QuitteIn contains two variables containedin varNames that should be plotted in a scatter plot. The functions forms the new QuitteOut with the variables x and y. QuitteOut can be used in ggplot with plotting x and y. The unit needs to be replaced by None.
prepQuitteForScatter(quitteIn, varNames)
quitteIn |
Quitte with original data |
varNames |
Vector with two variable names that must be contained in QuitteIn$variable |
quitte object
Nico Bauer, Anselm Schultes, Jerome Hilaire
## Not run:
quitteOut <- prepQuitteForScatter(quitteIn, c('Emissions|CO2', 'Price|Carbon'))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.