# NOT RUN {
data(trade)
# We estimate the effect of distance on trade => we account for 3 fixed-effects
est_pois = femlm(Euros ~ log(dist_km)|Origin+Destination+Product, trade)
# Obtaining the fixed-effects coefficients:
fe_trade = fixef(est_pois)
# The fixed-effects of the first cluster:
head(fe_trade$Origin)
# Summary information:
summary(fe_trade)
# Plotting them:
plot(fe_trade)
# }
Run the code above in your browser using DataLab