-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from adamlilith/solstice_2022_2023
Solstice 2022 2023
- Loading branch information
Showing
165 changed files
with
17,855 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
Package: enmSdmX | ||
Type: Package | ||
Title: Species Distribution Modeling and Ecological Niche Modeling | ||
Version: 1.1.2 | ||
Date: 2023-09-07 | ||
Authors@R: | ||
c( | ||
person( | ||
given = 'Adam B.', | ||
family = 'Smith', | ||
role = c('cre', 'aut'), | ||
email = '[email protected]', | ||
comment = c(ORCID = '0000-0002-6420-1659') | ||
) | ||
) | ||
Maintainer: Adam B. Smith <[email protected]> | ||
Description: Implements species distribution modeling and ecological niche | ||
modeling, including: bias correction, spatial cross-validation, model | ||
evaluation, raster interpolation, biotic "velocity" (speed and | ||
direction of movement of a "mass" represented by a raster), interpolating | ||
across a time series of rasters, and use of spatially imprecise records. | ||
The heart of the package is a set of "training" functions which | ||
automatically optimize model complexity based number of available | ||
occurrences. These algorithms include MaxEnt, MaxNet, boosted regression | ||
trees/gradient boosting machines, generalized additive models, | ||
generalized linear models, natural splines, and random forests. To enhance | ||
interoperability with other modeling packages, no new classes are created. | ||
The package works with 'PROJ6' geodetic objects and coordinate reference | ||
systems. | ||
Depends: R (>= 4.0.0) | ||
Imports: boot, data.table, dismo, doParallel, DT, foreach, gbm, | ||
graphics, ks, maxnet, methods, mgcv, MuMIn, omnibus, parallel, | ||
ranger, rJava, scales, sf, shiny, statisfactory, stats, terra, | ||
utils | ||
Suggests: geodata | ||
LazyData: true | ||
LazyLoad: yes | ||
URL: https://github.com/adamlilith/enmSdmX | ||
BugReports: https://github.com/adamlilith/enmSdmX | ||
Encoding: UTF-8 | ||
License: MIT + file LICENSE | ||
RoxygenNote: 7.2.3 | ||
NeedsCompilation: no | ||
Packaged: 2023-09-08 17:12:43 UTC; adam | ||
Author: Adam B. Smith [cre, aut] (<https://orcid.org/0000-0002-6420-1659>) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
YEAR: 2022 | ||
COPYRIGHT HOLDER: Adam B. Smith |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Generated by roxygen2: do not edit by hand | ||
|
||
export(bioticVelocity) | ||
export(compareResponse) | ||
export(coordImprecision) | ||
export(countPoints) | ||
export(customAlbers) | ||
export(customLambert) | ||
export(customVNS) | ||
export(decimalToDms) | ||
export(dmsToDecimal) | ||
export(elimCellDuplicates) | ||
export(evalAUC) | ||
export(evalContBoyce) | ||
export(evalMultiAUC) | ||
export(evalTSS) | ||
export(evalThreshold) | ||
export(evalThresholdStats) | ||
export(evalTjursR2) | ||
export(extentToVect) | ||
export(geoFold) | ||
export(geoFoldContrast) | ||
export(geoThin) | ||
export(getCRS) | ||
export(getValueByCell) | ||
export(globalx) | ||
export(interpolateRasts) | ||
export(longLatRasts) | ||
export(modelSize) | ||
export(nearestEnvPoints) | ||
export(nearestGeogPoints) | ||
export(nicheOverlapMetrics) | ||
export(plotExtent) | ||
export(predictEnmSdm) | ||
export(predictMaxEnt) | ||
export(predictMaxNet) | ||
export(sampleRast) | ||
export(setValueByCell) | ||
export(spatVectorToSpatial) | ||
export(squareCellRast) | ||
export(summaryByCrossValid) | ||
export(trainBRT) | ||
export(trainByCrossValid) | ||
export(trainGAM) | ||
export(trainGLM) | ||
export(trainMaxEnt) | ||
export(trainMaxNet) | ||
export(trainNS) | ||
export(trainRF) | ||
export(weightByDist) | ||
import(data.table) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# enmSdmX 1.1.2 2023-09-07 | ||
- Minor issue fixes with undocumented arguments for non-exported functions | ||
- Bug fix in `squareCellRast()` that occurred on Linux/Fedora | ||
|
||
# enmSdmX 1.1.1 2023-06-11 | ||
- Backwards incompatible: `trainRF()` uses `ranger` package for random forests (changed from `randomForest` package) | ||
- Backwards incompatible: `geoFold()` uses `complete` clustering method by default (changed from `single`) | ||
- New feature: `trainGLM()` and `trainNS()` can automatically scale predictors | ||
- New feature: Reworked `trainGLM()` to handle cases with large numbers of predictors | ||
- New feature: Added `geoFoldContrast()` for assigning geo-folds to background or absence sites | ||
- Better functionality: `trainRF()` now indicates if the response is binary using a `binary` argument (vs. `family`, which falsely implied more functionality than RFs have) | ||
|
||
# enmSdmX 1.0.6 2023-05-22 | ||
- Better functionality: Expanded capacity of .calcWeights() (a hidden function) to handle different values for `family` | ||
|
||
# enmSdmX 1.0.5 2023-05-12 | ||
- new feature: Added help page for troubleshooting running functions that support parallel operation | ||
- Bug fix: `predictEnmSdm()` when using a BRT model and predicting to a `SpatRaster` (thank you, Nikki C!) | ||
|
||
# enmSdmX 1.0.4 2023-04-10 | ||
- New feature: Users can select clustering method in `geoThin()` and `geoFold()` (thank you, Pascal T!) | ||
- Bug fix: Example in `customCRS()` when GADM server is down | ||
- Bug fix:`geoThin()` which returned input if it was a `data.frame`* | ||
- Bug fix:`geoThin()` which returned a `data.frame` lacking coordinates if input was a `data.frame` (thank you, Pascal T!) | ||
|
||
# enmSdmX 1.0.3 2023-03-07 | ||
- Bug fix: Removed Fedora issue with external link to `raster` package | ||
- Bug fix: Added `rJava` dependency | ||
|
||
# enmSdmX 1.0.2 2023-03-04 | ||
- New feature: `getCRS()` (no arguments) now displays `shiny` table of all available CRSs | ||
- Bug fix: Fixed issue in `nearestGeogPoints()` when polygon lay under centroid | ||
- Bug fix: Fixed bug with "table" call of `getCRS()` | ||
|
||
# enmSdmX 1.0.1 | ||
- New feature: `summarizeByCrossValid()` now summarizes natural spline (NS) models | ||
- Bug fix: Bug experienced by some users using `predictEnmSdm()` and `predictMaxNet()` (Thank you, Nikki!) | ||
- Bug fix: `trainByCrossValid()` using improper call to `evalContBoyce()` | ||
- Bug fix: `extract()` bug in some examples | ||
|
||
# enmSdmX 1.0.0 | ||
- First release on CRAN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# needed to use data.table in functions | ||
# https://cran.r-project.org/web/packages/data.table/vignettes/datatable-importing.html | ||
.datatable.aware <- TRUE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# .onLoad <- function(lib, pkg) { | ||
|
||
# } | ||
|
||
.onAttach <- function(lib, pkg) { | ||
|
||
ver <- read.dcf(file=system.file('DESCRIPTION', package=pkg), fields='Version') | ||
packageStartupMessage(paste0('This is ', pkg, ' ', ver, '.')) | ||
packageStartupMessage(paste0('* Back-incompatible changes starting starting with enmSdmX version 1.1.1:')) | ||
packageStartupMessage(paste0('* trainRF() replaces use of the randomForest package with the faster ranger package, which produces random forests that are statistically equivalent.')) | ||
packageStartupMessage(paste0('geoFold() uses ', dQuote('complete'), ' clustering by default (was ', dQuote('single'), ').')) | ||
|
||
} |
Oops, something went wrong.