nhood: Neighborhood of specific cell in array

View source: R/nhood.R

nhoodR Documentation

Neighborhood of specific cell in array

Description

Neighborhood of specific cell in array

Usage

nhood(
  A,
  idx,
  ownRent_vars = c("own", "rnt"),
  sex_vars = c("mal", "fem"),
  cenRace_vars = c("wh", "bl", "as", "aian", "pac", "oth", "twp"),
  age_vars = c("0-17", "18-62", "62p"),
  hispDes_vars = c("hisp", "nonhisp"),
  minCount = -10^5,
  maxCount = 10^5
)

Arguments

A

data array

idx

specific cell to find its neighborhood

ownRent_vars

levels of ownRent variable to return

sex_vars

levels of sex variable to return

cenRace_vars

levels of CenRace variable to return

age_vars

levels of age variable to return

hispDes_vars

levels of hisp variable to return

minCount

min value to return

maxCount

max value to return

Value

data frame with neighborhood cell of idx


jlivsey/Dvar documentation built on July 13, 2024, 6:10 a.m.