View source: R/get.functions.R
get.climdex.functions | R Documentation |
Returns a list of Climdex functions, with parameters curried in.
get.climdex.functions(vars.list, metadata.config, fclimdex.compatible = TRUE)
vars.list |
The variable list, as created by |
fclimdex.compatible |
Whether to create fclimdex compatible functions. |
This function takes a variable list (as created by get.climdex.variable.list
) and creates a list of functions corresponding to the specified indices, with parameters such as time resolution curried in. This allows for these functions to be called with just the t
object as an argument, easing the automation of computing indices.
A list of functions, named by the variable they compute.
## Get Climdex functions for a variable list with all appropriate params ## curried in, so that all they take is a t object. cdx.funcs <- get.climdex.functions(get.climdex.variable.list(c("tmax", "tmin")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.