ctree_LUR: Regression tree for LUR (using ctree), mainly for...

Description Usage Arguments Value

View source: R/ctree_LUR.R

Description

Regression tree for LUR (using ctree), mainly for visualisation purpose

Usage

1
2
3
4
5
6
7
8
9
ctree_LUR(
  variabledf,
  vis1 = T,
  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.

grepstring

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

Value

plot the tree and return the ctree object


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