[R-sig-Geo] dismo package- data.frame of fitted function and variable values

Rob Deg ruegdeg at gmail.com
Wed Jan 13 14:18:10 CET 2016


Dear R-users,

Iam using the boosted regression trees to model the occurrence of
presence/absence data by using environmental factors.
Iam wondering how its possible to print out the data.frame of fitted
functions and variable values that were used in producing the gbm.plot.
For example, values of fitted functions (y-axis) and SegSumT (x-axis) from
the following plot provided in the dismo package example

======================
library(dismo)
data(Anguilla_train)
Anguilla_train = Anguilla_train[1:200,]
angaus.tc5.lr01 <- gbm.step(data=Anguilla_train, gbm.x = 3:14, gbm.y = 2,
family = "bernoulli", tree.complexity = 5, learning.rate = 0.01,
bag.fraction = 0.5)
gbm.plot(angaus.tc5.lr01)

=========================

Best,

Robert

	[[alternative HTML version deleted]]



More information about the R-sig-Geo mailing list