Description Usage Arguments Value Examples
View source: R/doubly_constrained.R
Calibrate an doubly-constrained spatial interaction model (SIM) via a Poisson regression.
1 | doubly_constrained_sim(df, orig, dest, cost, intr)
|
df |
A tibble or a data frame. |
orig |
A column reference - the origin (a character or factor) |
dest |
A column reference - the destination (a character or factor) |
cost |
A column reference - the cost (a character or factor) |
intr |
A column reference - the interaction count (a character or factor) |
A 'sim' object - like a model object but with a few extra attributes.
1 2 | require(tidyverse)
eastmid_ttw %>% doubly_constrained_sim(From,To,Dist,Count)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.