arithm: Combine (merge) two sdmModels into a single object

Description Value Author(s) References Examples

Description

If two sets of models fitted in two separate sdmModels objects, they can be merged into a single sdmModels objects using '+'

Value

an object of class sdmModels

Author(s)

Babak Naimi naimi.b@gmail.com

https://www.r-gis.net/

https://www.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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
## Not run: 
file <- system.file("external/pa_df.csv", package="sdm")

df <- read.csv(file)

head(df) 

d <- sdmData(sp~b15+NDVI,train=df)

d
#----


m1 <- sdm(sp~b15+NDVI,data=d,methods=c('glm','gbm'))

m1

m2 <- sdm(sp~b15+NDVI,data=d,methods=c('svm'))

m2

m <- m1 + m2

m


## End(Not run)

sdm documentation built on Nov. 12, 2021, 9:06 a.m.

Related to arithm in sdm...