linear_fits %>% rowwise()%>% tidy(model) %>% ungroup() %>% filter(term=="coord") %>% select(c(dist,estimate)) %>% mutate(mag=abs(estimate), scaled_mag=100*abs(estimate), smol=scaled_mag < 0.01, verysmol=scaled_mag<0.005) %>% summary()
dist estimate mag scaled_mag smol
1 : 1 Min. :-3.738e-03 Min. :3.329e-06 Min. :0.0003329 Mode :logical
2 : 1 1st Qu.:-6.385e-04 1st Qu.:3.479e-04 1st Qu.:0.0347894 FALSE:931
3 : 1 Median : 8.803e-05 Median :7.370e-04 Median :0.0736952 TRUE :69
4 : 1 Mean : 6.421e-05 Mean :8.609e-04 Mean :0.0860938
5 : 1 3rd Qu.: 8.363e-04 3rd Qu.:1.244e-03 3rd Qu.:0.1243669
6 : 1 Max. : 3.302e-03 Max. :3.738e-03 Max. :0.3738221
(Other):994
verysmol
Mode :logical
FALSE:967
TRUE :33
|