|
| 1 | +# spmodel 0.8.0 |
| 2 | + |
| 3 | +## Major Updates |
| 4 | + |
| 5 | +* Added support for the `emmeans` **R** package for estimating marginal means of `splm()`, `spautor()`, `spglm()`, and `spgautor()` models. |
| 6 | +* Added a vignette to the [`spmodel` website](https://usepa.github.io/spmodel/) titled "Using emmeans to Estimate Marginal Means of spmodel Objects". |
| 7 | +* Added support for distance-based neighborhood definitions of `spautor()` and `spgautor()` models via the `cutoff` argument, required when `data` are an `sf` object with `POINT` geometry and `W` is not specified. |
| 8 | +* Added the `texas` data set, which contains voter turnout data from eligible voters in Texas, USA, during the 1980 Presidential election. |
| 9 | +* Added the `lake` and `lake_preds` data sets, which contain data from the United States Environmental Protection Agency's National Lakes Assessment and LakeCat. |
| 10 | + |
| 11 | + |
| 12 | +## Minor Updates |
| 13 | + |
| 14 | +* Changed the `type` argument in `augment()` for `spglm()` and `spgautor()` models to `type.predict` to match `broom::augment.glm()`. |
| 15 | +* `augment()` for `spglm()` and `spgautor()` models now returns fitted values on the link scale by default to match `broom::augment.glm()`. |
| 16 | +* Added a `type.residuals` argument for `spglm()` and `spgautor()` models to match `broom::augment.glm()`. |
| 17 | +* Updated `logLik()` to match `lm()` and `glm()` behavior. `logLik()` now returns a vector with class `logLik` and attributes `nobs` and `df`. |
| 18 | +* Added support for using `AIC()` and `BIC()` from `stats` and removed `spmodel`-specific `AIC()` and `BIC()` methods. |
| 19 | +* Added support for `"terms"` prediction for `splm()`, `spautor()`, `spglm()`, and `spgautor()` models. |
| 20 | +* Added `scale` and `df` arguments to `predict()` for `splm()` and `spautor()` models. |
| 21 | +* Add `dispersion` argument to `predict()` for `spglm()` and `spgautor()` models. |
| 22 | +* Enhanced numeric stability of deviance and pseudo R-squared for `spglm()` or `spgautor()` models when `family = "beta"`. |
| 23 | +* Added the `cov_type` argument to `covmatrix()` to return observed by observed, prediction by observed, observed by prediction, and prediction by prediction covariance matrices. |
| 24 | +* Added a `warning` argument to `glances()` that determines whether relevant warnings should be displayed or not. |
| 25 | +* Added a warning message to `glances()` about interpreting likelihood-based statistics (e.g., AIC, AICc, BIC) when a one model has `estmethod = "ml"` and another model has `estmethod = "reml"`. |
| 26 | +* Added a warning message to `glances()` about interpreting likelihood-based statistics (e.g., AIC, AICc, BIC) when two models with `estmethod = "reml"` have distinct `formula` arguments. |
| 27 | +* Added a warning message to `glances()` about interpreting likelihood-based statistics (e.g., AIC, AICc, BIC) when two models have different sample sizes. |
| 28 | +* Added a warning message to `glances()` about interpreting likelihood-based statistics (e.g., AIC, AICc, BIC) when two models have different family supports (which can happen with `spglm()` and `spgautor()` models). |
| 29 | +* All data sets now have `tbl_df` and `tbl` classes (i.e., are tibbles). |
| 30 | +* Added a `cloud` argument to `esv()` to return a cloud semivariogram. |
| 31 | +* `esv()` output now has `tbl_df` and `tbl` classes (i.e., are tibbles) and an `esv` class. |
| 32 | +* Added a `plot()` method for `esv` objects. |
| 33 | +* Minor vignette updates. |
| 34 | +* Minor documentation updates. |
| 35 | + |
1 | 36 | # spmodel 0.7.0
|
2 | 37 |
|
3 | 38 | ## Minor Updates
|
|
0 commit comments