analyze | R Documentation |
This function takes the outputs from the functions weight()
optionally passed through weight.adjust()
, benchmarker()
, and a TerrADat SpatialPointsDataFrame with a field for reporting units. It applies spsurvey::cat.analysis()
and returns the results
analyze(
benchmarked_points,
point_weights,
id_var,
indicator_var = "indicator",
value_var,
weight_var = "wgt",
x_var = "x",
y_var = "y",
reporting_var,
split_var = NULL,
conf = 80
)
benchmarked_points |
Data frame. This should be the output from |
point_weights |
Data frame. This should be the |
id_var |
Character string. The name of the variable in |
indicator_var |
Character string. The name of the variable in |
value_var |
Character string. The name of the variable in |
x_var |
Character string. The name of the variable in |
y_var |
Character string. The name of the variable in |
reporting_var |
Character string. The name of the variable in |
split_var |
Optional character string or character vector. The name(s) of variable(s) that analyses should be split along. This must be done if a point had more than one benchmark for an indicator, e.g. splitting along the management objective variable if two different objects had distinct benchmarks for the same indicator that covered the same plot(s). |
conf |
Numeric. The confidence level in percent. Defaults to |
wgt_var |
Character string. The name of the variable in |
A data frame with the output from spsurvey::cat.analysis()
analyze()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.