b-steve / acre

Acoustic spatial capture-recapture models
GNU General Public License v3.0
3 stars 1 forks source link

Consistent formatting for confidence interval limits in `summary()` #25

Open b-steve opened 5 months ago

b-steve commented 5 months ago

At the moment it's possible for the lower- and upper-limits of confidence intervals to be formatted very differently in the summary() table, which makes it very difficult to read. Here's an example:

> summary(fit2)
Detection function: Hazard halfnormal 
Number of sessions: 18 
Information types: Bearings
Confidence interval method: Wald 

 Parameters: 
                          Estimate  Std. Error       2.5 %   97.5 %
sigma                   4.8853e+02  3.8151e+01  4.1920e+02 569.3316
lambda0                 2.8754e+01  1.7186e+01  8.9109e+00  92.7819
kappa                   5.2663e+01  1.3151e+01  3.2281e+01  85.9144
D.(Intercept)          -5.4359e+00  3.4442e-01 -6.1110e+00  -4.7609
D.forest.typeevergreen  1.0082e-01  1.9741e-01 -2.8609e-01   0.4877
D.canopy.height         2.3157e-01  1.1206e-01  1.1938e-02   0.4512
D.villages              6.3481e-05  2.1107e-05  2.2113e-05   0.0001