Run tomogravity estimation on complete time series of aggregate flows

Share:

Description

Run tomogravity estimation on complete time series of aggregate flows

Usage

1
gravity(Y, srcDstInd)

Arguments

Y

n x m matrix contain one vector of observed aggregate flows per row

srcDstInd

list of source and destination flow indices corresponding to each point-to-point flow, as produced by getSrcDstIndices

Value

Xhat, a n x k matrix containing a vector of estimated point-to-point flows (for each time point) per row

See Also

Other gravity: gravity.fit

Examples

1
2
3
data(cmu)
srcDstInd <- getSrcDstIndices(cmu$A.full)
estimate <- gravity(Y=cmu$Y[1:3,], srcDstInd=srcDstInd)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.