Description Usage Arguments Value Author(s) See Also
This function build a data set containing the number of individuals that remain in their home location (stay) or travel to another location
during the time span of the survey. The output is designed to provide data for the fit.prob.travel function. The admin unit used to aggregate the travel/stay
counts depend on the arguemtns supplied:
When data.pred is supplied and agg.adm = NULL, the lowest admin unit of data.pred is used
When both data.pred and agg.adm are NULL, the lowest admin unit of data is used
1 | get.stay.data(data, data.pred = NULL, agg.adm = NULL, name.class = "character")
|
data |
generalized data frame described in |
data.pred |
generalized data frame containing the admin units at which to predict probability of travel |
agg.adm |
optional argument (logical) giving an arbitarary admin unit over which to aggregate travel/stay counts |
name.class |
character indicating whether unique names should be either a unique character string ( |
dataframe with same columns as travel.survey data with columns for counts of travel/stay/total
John Giles
Other data synthesis:
calc.prop.tot.trips(),
calc.route.type(),
calc.samp.size(),
get.crossdist(),
get.distance.class(),
get.distance.counts(),
get.distance.matrix(),
get.district.names.xy(),
get.district.pop(),
get.duration.counts(),
get.holidays(),
get.sparse.mob.matrix(),
get.subsamp(),
get.xy.counts(),
mob.data.array(),
parse.longform()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.