set_options {treePlotArea}R Documentation

Set Default Options for treePlotArea

Description

Just convenience function for options. treePlotArea has a set of default options to define the columns of the data.frames that are passed to get_correction_factors. See get_defaults for a description of these options.

Usage

set_options(...)

Arguments

...

See options. Leave empty to initialize the defaults if need be.

Value

Invisibly TRUE.

See Also

Other option functions: get_defaults()

Examples

# Set the default
set_options()
getOption("treePlotArea")
# Overwrite some
option_list <- list(angle_counts = list(dbh = "diameter"),
                    boundaries = list(boundary_status = "boundart_stat"))
set_options(angle_counts = option_list[["angle_counts"]],
            boundaries = option_list[["boundaries"]])
getOption("treePlotArea")$angle_counts$dbh
# restore default
option_list <- get_defaults()
set_options(angle_counts = option_list[["angle_counts"]],
            boundaries = option_list[["boundaries"]])
getOption("treePlotArea")$angle_counts$dbh

[Package treePlotArea version 2.1.0 Index]