powered by
gravity.fit(yt, srcDstInd)
getSrcDstIndices
gravity
data(cmu) srcDstInd <- getSrcDstIndices(cmu$A.full) estimate <- gravity.fit(yt=cmu$Y.full[1,], srcDstInd=srcDstInd)
Run the code above in your browser using DataLab