summarize_spew_region: Summarize a singular region from spew output

Description Usage Arguments Value

View source: R/summarize_spew.R

Description

Summarize a singular region from spew output

Usage

1
2
summarize_spew_region(spew_region, type = "households", marginals,
  vars_to_sum, vars_to_sum_env = NULL)

Arguments

spew_region

a single region (entry in the list) from spew

type

either "households or "people". Default is "households". The type to summarize

marginals

marginals object

vars_to_sum

names of the variables to summarize

vars_to_sum_env

environment variables to summarize. Default is NULL

Value

a list of length of 1 for the region ID , 1 for population size, and optionally one for a dataframe of stored lat/long coords, the number of variables to summarize , and the environmental variables


spew documentation built on Nov. 17, 2017, 7:36 a.m.