all_geog_constraint_geog_mob {synthACS}R Documentation

Create geographic mobility constraint list to a set of geographies

Description

Create a new geographic mobility constraint list to the mapping between a a set of macro datasets and a matching set of micro dataset (supplied as class 'synthACS').

Usage

all_geog_constraint_geog_mob(obj, method = c("synthetic", "macro.table"))

Arguments

obj

An object of class "synthACS".

method

One of c("synthetic", "macro.table"). Specifying "synthetic" indicates that constraints are built by marginalizing the synthetic micro datasets. Specifying "macro.table" indicates that the constraints are build from the data in the base ACS tables.

See Also

all_geogs_add_constraint

Examples

## Not run: 
 # assumes that obj of class 'synthACS' already exists in your environment
 gm1 <- all_geog_constraint_geog_mob(obj, "synthetic")
 gm2 <- all_geog_constraint_geog_mob(obj, "macro_table")

## End(Not run)

[Package synthACS version 1.7.1 Index]