Description Usage Arguments Value Examples
Carry out a Poisson regression.
| 1 | poisson_reg(df, orig, dest, cost, intr, type = "dbl")
 | 
| 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) | 
| type | What type of model to use (unconstr, orig, dest, dbl) | 
A 'sim' object - like a model object but with a few extra attributes.
| 1 2 | require(tidyverse)
eastmid_ttw %>% poisson_reg(From,To,Dist,Count)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.