
Assign strata weights to circular plots
assign_strata_weights.Rd
Assigns predefined strata weights to circular plots based on their strata classification.
This is an internal helper function used by StrataAGB
and is not intended for direct use.
Usage
assign_strata_weights(plots, strata_weights = c(A = 0.22, B = 0.22, C = 0.68))
Examples
# Example: Assign weights to a simple plot data frame
strata_plots <- data.frame(stratum = c("A", "B", "C"))
weighted_plots <- assign_strata_weights(strata_plots)
print(weighted_plots)
#> stratum wt
#> 1 A 0.22
#> 2 B 0.22
#> 3 C 0.68