Brt_LUR: Boost regression trees for LUR (using b)

Description Usage Arguments Value

View source: R/Brt_LUR.R

Description

Boost regression trees for LUR (using b)

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
Brt_LUR(
  variabledf,
  opti = F,
  vis1 = T,
  ntree = 1000,
  interaction.depth = 6,
  bag.fraction = 0.5,
  shrinkage = 0.01,
  y_varname = c("day_value", "night_value", "value_mean"),
  training,
  test,
  grepstring,
  ...
)

Arguments

variabledf

the dataframe containing predictors and dependent variable

y_varname

name of the dependent variable.

training

the index for the rows used for training.

test

the index for the rows used for testing.

grepstring

the variable/column names of predictors in Lasso, grepl stlye, e.g. 'ROAD|pop|temp|wind|Rsp|OMI|eleva|coast'

Value

plot variable importance and an error matrix


mengluchu/APMtools documentation built on Jan. 27, 2022, 2:41 a.m.