View source: R/benchmarking.R View source: R/benchmarking.R
apply_benchmarks | R Documentation |
Using data that has unique identifier and indicator value variables, apply benchmarks. The benchmarks are applied to the data based on the benchmark group(s) that the data belong to, which may already be assigned in the data or may be added with a benchmark group lookup table.
Using data that has unique identifier and indicator value variables, apply benchmarks. The benchmarks are applied to the data based on the benchmark group(s) that the data belong to, which may already be assigned in the data or may be added with a benchmark group lookup table.
apply_benchmarks(
data,
idvars,
benchmark_group_var = NULL,
benchmark_group_lut = NULL,
benchmarks,
verbose = FALSE,
tdat_version = "2"
)
apply_benchmarks(
data,
idvars,
benchmark_group_var = NULL,
benchmark_group_lut = NULL,
benchmarks,
verbose = FALSE,
tdat_version = "2"
)
data |
Data frame or spatial * data frame. The data to be benchmarked. Must contain the variable(s) in |
idvars |
Character string or vecor of character strings. The names of the variable(s) in |
benchmark_group_var |
Optional character string. The name of the variable that holds the benchmark group memberships. If |
benchmark_group_lut |
Optional data frame. The lookup table used to assign benchmark group membership to |
benchmarks |
Data frame. The benchmarks in the format produced by |
verbose |
Logical. If |
tdat_version |
Version of TerrADat used in the analysis for use in |
A long data frame of each point/benchmarked indicator combination with the assigned condition category.
A long data frame of each point/benchmarked indicator combination with the assigned condition category.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.