nwos_stratum_area: NWOS Stratum Area

View source: R/nwos_stratum_area.R

nwos_stratum_areaR Documentation

NWOS Stratum Area

Description

This function estimates NWOS stratum areas.

Usage

nwos_stratum_area(stratum, point.count, state.area)

Arguments

stratum

vector indicating inclusion (1) and exclusion (0) in the stratum of interest. NA's are allowed.

point.count

vector of the number of sample points associated with each observation. Default is point.count = 1.

state.area

total land area in the state of interest.

Value

Area (of forestland) in the stratum.

References

Butler, B.J. In review. Weighting for the US Forest Service, National Woodland Owner Survey. U.S. Department of Agriculture, Forest Service, Northern Research Station. Newotwn Square, PA.

Examples

wi <- tbl_df(read.csv("data/wi.csv")) %>% mutate(ROW_NAME = row.names(wi), AC_WOOD = ACRES_FOREST, FFO = if_else(LAND_USE == 1 & OWN_CD == 45 & AC_WOOD >= 1, 1, 0))
WI_FFO_AREA <- nwos_stratum_area(stratum = wi$FFO, point.count = wi$POINT_COUNT, state.area = 33898733)
WI_FFO_AREA

familyforestresearchcenter/nwos documentation built on April 12, 2025, 11:54 a.m.