catdrought_describe_var: Print info about the variables present in the CatDrought db

View source: R/lfcCatDrought.R

catdrought_describe_varR Documentation

Print info about the variables present in the CatDrought db

Description

catdrought_describe_var is a wrapper for the $describe_var method of lfcCatDrought objects. See catdrought.

Usage

catdrought_describe_var(object, variables)

Arguments

object

lfcCatDrought object, as created by catdrought

variables

character vector with the names of the variables to describe

Value

A character vector with the variable names to describe

See Also

Other catdrought functions: catdrought_get_current_time_series(), catdrought_get_raster(), catdrought()

Examples

if (interactive()) {
catdroughtdb <- catdrought()
catdrought_describe_var(catdroughtdb, "DDS")
catdrought_describe_var(catdroughtdb, c("Esoil", "REW"))

# catdroughtdb is an R6 object, so the previous example is the same as:
catdroughtdb$describe_var("DDS")
catdroughtdb$describe_var(c("Esoil", "REW"))
}


MalditoBarbudo/lfcdata documentation built on May 2, 2023, 10:30 p.m.