View source: R/prepFunctionName.R
prepFunctionName | R Documentation |
Function to prepare a function call for a given type and prefix
prepFunctionName(type, prefix = "calc", ignore = NULL, error_on_missing = TRUE)
type |
name of calculation/source |
prefix |
Type of calculations. Available options are "download" (source download), "read" (source read), "correct" (source corrections), "convert" (source conversion to ISO countries), "calc" (further calculations), and "full" (collections of calculations) |
ignore |
vector of arguments which should be ignored (not be part of the function call) |
error_on_missing |
boolean deciding whether a missing type should throw an error or return NULL |
A function call as character to the specified function with corresponding package as attribute
Jan Philipp Dietrich
readSource
, setConfig
print(madrat:::prepFunctionName("Tau","read"))
print(madrat:::prepFunctionName("TauTotal","calc"))
print(madrat:::prepFunctionName("EXAMPLE","full"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.