nfi_describe_var: Print info about the variables present in the NFI db

View source: R/lfcNFI.R

nfi_describe_varR Documentation

Print info about the variables present in the NFI db

Description

nfi_describe_var is a wrapper for the $describe_var method of lfcNFI objects. See nfi.

Usage

nfi_describe_var(object, variables)

Arguments

object

lfcNFI object, as created by nfi

variables

character vector with the names of the variables to describe

Value

Description is printed in the console, nothing is returned

See Also

Other NFI functions: nfi_avail_tables(), nfi_describe_table(), nfi_get_data(), nfi()

Examples

if (interactive()) {
  nfidb <- nfi()
  nfi_describe_var(nfidb, "density")
  nfi_describe_var(nfidb, c("over_bark_volume", "basal_area"))

  # nfidb is an R6 object, so the previous example is the same as:
  nfidb$describe_var("density")
  nfidb$describe_var(c("over_bark_volume", "basal_area"))
}


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