SSN2 0.4.0
Major Updates
- Added a vignette to the SSN2website
titled “Adding Explanatory Variables to ‘SSN’ Objects Directly in R
Using StreamCat”.
- Added a vignette to the SSN2website
titled “Fitting ‘SSN’ Models to Large Data Sets and Making Predictions
(i.e., Kriging)”
Minor Updates
- Changed the default sizeargument to thelocalargument inssn_lm()andssn_glm()from 100 to 200. This enhances the
approximation’s accuracy but can slightly increase computational
complexity.
- Changed the default sizeargument to thelocalargument inpredict()andaugment()from 2000 to 4000. This enhances the
approximation’s accuracy but can slightly increase computational
complexity.
Bug Fixes
- Fixed a bug that could improperly order observations when
localwas specified (for large data sets) inssn_lm()orssn_glm().
- Fixed a bug that could improperly order local_indexinssn_lm()orssn_glm()model objects.
SSN2 0.3.1
Bug fixes
- Added a dependency on spmodelversion at least0.7.0so thatAUROC()methods are properly
called.
- Fixed a bug introduced in version 0.3.0 that prevented
partition_factorfrom working properly when
non-NULL(#32).
SSN2 0.3.0
Major Updates
- Added support for the emmeansR
package for estimating marginal means ofssn_lm()andssn_glm()models.
- Added support for applications to large data sets. The
ssn_create_bigdist()function was added to create large
distance matrices using thefilematrixR
package. Estimation for large data sets is performed by leveraging thelocalargument tossn_lm()andssn_glm(). Prediction for large data sets is performed by
leveraging thelocalargument topredict()(andaugment()). Whenlocalis used,SSN2looks for distance matrices created usingssn_create_bigdist().
- Added support for Gaussian tail-up and tail-down covariance
functions.
Minor Updates
- Updated ssn_import()so that it does not force an
overwrite of thenetgeomcolumn when it already
exists.
- Add a verboseargument tossn_import(),ssn_import_predpts(), andcreateBinaryID()to
control whether warning messages are printed to the R
console.
- Added the na.actionargument topredict.ssn_lm()andpredict.ssn_glm()functions to clarify that missing values innewdatareturn
an error.
- Changed the typeargument inaugment()forssn_glm()models totype.predictto matchbroom::augment.glm().
- augment()for- ssn_glm()models now returns
fitted values on the link scale by default to match- broom::augment.glm().
- Added a type.residualsargument forssn_glm()models to matchbroom::augment.glm().
- Updated logLik()to matchlm()andglm()behavior.logLik()now returns a vector
with classlogLikand attributesnobsanddf.
- Added support for using AIC()andBIC()fromstatsand removedSSN2-specificAIC()methods.
- Added a warningargument toglances()that
determines whether relevant warnings should be displayed or not.
- Added a warning message to glances()about interpreting
likelihood-based statistics (e.g., AIC, AICc, BIC) when a one model hasestmethod = "ml"and another model hasestmethod = "reml".
- Added a warning message to glances()about interpreting
likelihood-based statistics (e.g., AIC, AICc, BIC) when two models withestmethod = "reml"have distinctformulaarguments.
- Added a warning message to glances()about interpreting
likelihood-based statistics (e.g., AIC, AICc, BIC) when two models have
different sample sizes.
- 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 withssn_glm()models).
- Added a cloudargument toTorgegram()to
return a cloud Torgegram.
- Added the ability to pass custom cextoplot.Torgegram().
- Added a robust semivariogram option to Torgegram(); see
therobustargument toTorgegram()
- Added an AUROC()function to compute the area under the
receiver operating characteristic (AUROC) curve forssn_glmmodels whenfamilyis"binomial"and the
response is binary (i.e., represents a single success or failure).
- Added a typeargument toloocv()whencv_predict = TRUEand usingssn_glm()models
so that predictions may be obtained on the link or response scale.
- Added support for "terms"prediction forssn_lm()andssn_glm()models.
- Added scaleanddfarguments topredict()forssn_lm()models.
- Add dispersionargument topredict()forssn_glm()models.
- Minor documentation updates.
- Minor code maintenance updates.
Bug Fixes
- Fixed a bug that caused incorrect degrees of freedom for the
likelihood ratio test (anova(model1, model2)) whenestmethodis"ml"for both models #25.
- Fixed a bug that caused an error in
anova(object1, object2)when the name ofobject1had special characters (e.g.,$).
SSN2 0.2.1
Minor Updates
- Enhanced numeric stability of deviance and pseudo R-squared for
ssn_glm()models whenfamily = "beta"(#23).
- Updated reexport.Rdto reflect changes inspmodel v0.8.0’s handling ofAIC()andAICc().
SSN2 0.2.0
Major Updates
- Significant testing, documentation, and auxiliary (e.g.,
README.md) updates as part of a submission to Journal
of Open Source Software. Relevant issues associated with the review
are available at #11, #12, #13, #14, #15, #16, #17, #20, #21. The review is linked
here.
- Added support for geopackage file formats in the .ssnfolder that is accessed when importing SSN objects viassn_import().
Minor Updates
- Added ssn_names()to return column names in theedges,obs, andpredselements of
an SSN object.
- Changed Matrix::rankMatrix(X, method = "tolNorm2")toMatrix::rankMatrix(X, method = "qr")to enhance stability
when determining linear independence inX, the design
matrix of explanatory variables.
- Replaced an error message with a warning message when Xhas perfect collinearities (i.e., is not full rank).
- Removed format_additiveargument fromssn_import()because of transition to geopackage support,
which eliminates the need to convert additive function values to
text.
- Added the create_netgeom()function to create the
network geometry column for theedges,obs,
andpredselements in an SSN object.
- Minor vignette updates.
- Minor documentation updates.
Bug Fixes
- Fixed a bug in SSN_to_SSN2()that caused an error usingssn_write()with no prediction sites.
- Replaced names.SSN()withssn_names(), asnames.SSN()prevented proper naming of elements in the SSN
object.
SSN2 0.1.1
Minor Updates
- Changed network geometry name from netgeometrytonetgeomto avoid exceeding the 10 character limit for
column/field names while writing to shapefiles (#2).
- Added an error message when familyis missing inssn_glm()(#8).
- Added a deprecation warning for SSN_to_SSN2().
- Minor stability updates.
- Minor error message updates.
- Minor documentation updates.
Bug Fixes
- Fixed a bug in Torgegram()that prevented intended
computation whencutoffwas specified.
- Fixed a bug in plot.Torgegram()that occasionally
prevented proper spacing of the legend.
- Fixed a bug that prevented proper printing of the dispersion
parameter from ssn_glm()model objects (and their
summaries) when all covariance parameters were known.
- Fixed a bug that prevented simulation when euclid_typewas"none".
- Fixed a bug that could cause improper prediction behavior when
taildown_typewas"spherical".
- Fixed a bug that printed response residuals instead of deviance
residuals for ssn_glm()objects.
SSN2 0.1.0