Man pages for gilesjohnr/hmob
Tools for analyzing human mobility data

calc.decay.statsCalculate model summary and validation statistics for trip...
calc.hpdCalculate HPD of aggregated waiting time distributions
calc.prop.infCalculate proportion infected in each district
calc.prop.remainProportion of individuals remaining for full epidemic...
calc.prop.tot.tripsCalculate the cumulative proportion of trips for values of a...
calc.prop.vaccCalculate vaccination coverage given routine vaccination...
calc.prop.vacc.SIACalculate vaccination coverage given routine vaccination and...
calc.route.typeCalculate observed number of trips of each route type
calc.samp.sizeGet the sample size of a route-level 'mob.data.array' matrix...
calc.timing.magnitudeCalculate peak timing of introduction and proportion infected
calc.wait.timeCalculate aggregate waiting time distribution
check.distance.matrixFix off-diagonal zeros in distance matrix
decay.funcExponential decay function
fit.gravityFit gravity model to movement matrix
fit.jagsFit model using JAGS
fit.prob.travelEstimate probability of travelling outside origin
get.admin.levelFind the lowest admin unit
get.age.betaGet Beta parameters for age groups
get.beta.paramsGet parameters for Beta distribution
get.crossdistGet distance between two points for one observation
get.distance.classAdd distance between origin and destination districts to long...
get.distance.countsGet matrix of trip distance counts
get.distance.matrixBuild distance matrix from XY coordinates
get.district.names.xyAdd district names and coordinates to long form data set
get.district.popAdd district population sizes to long form data set
get.duration.countsGet matrix of trip duration counts
get.gamma.paramsGet parameters of Gamma distribution
get.holidaysAdd national holidays and school breaks to long form data set
get.legendGet legend from ggplot object
get.namesGet title for any origin and destination
get.param.valsGet posterior parameter estimates from a model object
get.pop.vecGet unique origin and destination names
get.route.typeGet route-type
get.sparse.mob.matrixGet sparse mobility matrix
get.stay.dataMake data set of travel and stays
get.subsampFind the subset of districts which have a minumim number of...
get.unique.coordsGet unique coordinates
get.unique.namesGet unique origin and destination names
get.xy.countsGet counts of any two variables (e.g. distance vs duration)
load.objLoad specific objects in a .Rdata file
mob.data.arrayBuild mobility data array
mob.data.array.pop.levelReduce a mob.data.array object to population-level
mob.data.array.route.levelReduce a mob.data.array object to route-level
parse.longformParse raw trip duration data
rjags.combineCombine two rjags objects
rjags.mcmc.listConvert rjags object to mcmc.list
seeQuick look at matrices
sim.combineCombine two TSIR scenarios
sim.combine.dualCombine TSIR scenarios containing both gravity model types
sim.gammaCalculate the probability of a Gamma distributed random...
sim.gravitySimulate connectivity values using gravity model
sim.gravity.durationSimulate connectivity values using gravity model with trip...
sim.lambdaSimulate decay rate (lambda)
sim.piSimulate connectivity matrix (pi)
sim.rhoSimulate proportion remaining for full generation (rho)
sim.tauSimulate probability of leaving origin (tau)
sim.TSIRSimulate stochastic TSIR
sim.TSIR.fullSimulate full stochastic TSIR in parallel
summarize.hmobCalculate summary statistics for a model
survey.templateGeneralized template for travel survey data
trip.mapPlot map of origin and destination district(s)
gilesjohnr/hmob documentation built on Aug. 8, 2020, 1:26 a.m.