calculate_PPS_hab_inlc_pr: Calculate Propbability Proportional to Size (PPS) inclusion...

View source: R/alternative_inclpr.R

calculate_PPS_hab_inlc_prR Documentation

Calculate Propbability Proportional to Size (PPS) inclusion probabilities

Description

See for more information: https://www150.statcan.gc.ca/n1/en/pub/12-001-x/2011001/article/11450-eng.pdf?st=0oyBln55 or https://en.wikipedia.org/wiki/Probability-proportional-to-size_sampling

Usage

calculate_PPS_hab_inlc_pr(
  land_hex,
  hex_id = hex_id,
  stratum_id = NULL,
  quiet = FALSE
)

Arguments

land_hex

(Spatial) Data frame. Land Cover data by hexagon. If non-spatial, will be converted to spatial sf data frame using the crs and coords arguments. Requires columns identifying the Hex ID as well as the Stratum ID (see hex_id and stratum_id respectively).

hex_id

Column. Identifies hexagon IDs (e.g., default hex_id).

stratum_id

Column. Identifies larger area (e.g., StudyAreaID or Province).

quiet

Logical. Whether to suppress progress messages.

Examples

# calculate_PPS_hab_inlc_pr(land_hex = psu_hexagons)

dhope/BASSr documentation built on April 12, 2024, 9:54 p.m.