log_distance | R Documentation |
log_distance
creates a new dist_log
column in log scale by taking the original distance column in the data
log_distance(data, distance)
data |
(Type: data.frame) the dataset to be used. |
distance |
The distance column |
The function returns the summary of the estimated gravity model as an
lm
-object.
lm
, coeftest
,
vcovHC
log_distance(gravity_zeros, "distw")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.