Description Usage Arguments Value Author(s) See Also Examples
This function takes the output from a the mob.data.array or mob.data.array.route.level functions and calculates
the sample size of unique observations of the variable along the last dimension of the array (e.g. columns of a 2D matrix or the third dimension in a 3D array)
1 |
x |
a three dimensional array produced by the |
a named array, matrix, or vector of sample sizes
John Giles
Other data synthesis:
calc.prop.tot.trips(),
calc.route.type(),
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.stay.data(),
get.subsamp(),
get.xy.counts(),
mob.data.array(),
parse.longform()
1 2 3 | load('./data/duration_data_arrays_3day_full.Rdata') # y.month, y.route, y.pop
samp.size <- calc.samp.size(y.route)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.