getModelInfo: Get information/modelIDs relevant to fitted models in a...

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

When SDMs are fitted using the sdm function, a sdmModels object is generated containing all the information and objects created through fitting and evaluation procedures for all species and methods. To each model, a unique modelID is assigned. getModelInfo returns a data.frame summarising some information relevant to the fitted models including modelID, method name, whether the model is fitted successfully, whether and what replication procedure is used for data partitioning, etc. getModelInfo helps to get the unique model IDs for all or certain models given the parameters that users specify.

Usage

1
2
3
getModelId(x,success,species,method,replication, run)

getModelInfo(x,...)

Arguments

x

a sdmModel object

success

logical; specifies whether the info/ids should be returned only for the models that are successfully fitted or not (default is TRUE)

species

optional; a character vector specifies the name of species for which the info should be returned (default is NULL meaning for all species)

method

optional; a character vector specifies the name of methods for which the info should be returned (default is NULL meaning for all methods)

replication

optional; a character vector specifies the name of replication method for which the info should be returned (default is NULL meaning for all species)

run

optional; a numeric vector specifies for which replication runs the info should be returned (default is NULL meaning for all runs)

...

additional arguments. see details

Details

in getModelInfo, as additional arguments, you can use the arguments in the function getModelId to specify which records should be returned.

Value

getModelInfo: data.frame getModelId: a numeric vector

Author(s)

Babak Naimi naimi.b@gmail.com

http://r-gis.net

http://biogeoinformatics.org

References

Naimi, B., Araujo, M.B. (2016) sdm: a reproducible and extensible R platform for species distribution modelling, Ecography, 39:368-375, DOI: 10.1111/ecog.01881

See Also

#

Examples

1
2
3
4
5
6
7
8
9
file <- system.file("external/model.sdm", package="sdm")

m <- read.sdm(file)

getModelInfo(m)

# getModelId(m)

# getModelId(m,method='glm')

sdm documentation built on April 30, 2020, 1:04 a.m.