Good afternoon
 
Has anyone tried using Dr. Elith's BRT script?  I cannot seem to run
gbm.step  from the installed gbm package.  Is it something external to gbm?
 
When I run the script itself
 
<- gbm.step(data=model.data, 

    gbm.x = colx:coly,

    gbm.y = colz,

    family = "bernoulli",

    tree.complexity = 5,

    learning.rate = 0.01,

    bag.fraction = 0.5)

 
... I keep encountering the same error:
 
ERROR:  
  unexpected ')' in "bag.fraction = 0.5)"
 
I've tried all sorts of variations (such as)
 
sep22BRT.lr01 <- gbm{data=sep22BRT, 
gbm.x = sep22BRT[,3:42], 
gbm.y = sep22BRT[,1], 
family = "bernoulli", 
tree.complexity = 5, 
learning.rate = 0.01, 
bag.fraction = 0.5}
 
and cannot find the problem. 
 
Is there a glaring error that I am overlooking? 
 
 
Darin Brooks
Geomatics/GIS/Remote Sensing Coordinator
Kim Forest Management Ltd. Cranbrook Office
Cranbrook, BC
 
 

	[[alternative HTML version deleted]]

