Description Usage Arguments Details Value Author(s) See Also Examples
Initializing and validating the tree generation parameters
1 2 |
splitmetric |
Choosen split metric as integer:
|
controlList |
Named list containing the processed arguments. See details. |
tbase |
Value that needs to be at least attained to qualify for splitting (default: 1) |
gamma |
Weighting factor of the maximum entropy (default: 1) |
depth |
Integer limiting the tree to the given depth, with
|
minbucket |
Positive integer as minimal leaf size (default: 1) |
... |
Argument gobbling; is not processed |
The argument controlList
may be a named list with names in
c("tbase", "gamma", "depth", "minbucket")
Any values in this list will overwrite those supplied in
named arguments.
When controlList = NULL
(default) only the supplied
arguments are checked.
In case controlList
contains an argument named
splitmetric
, this will be ignored.
If splitmetric
is 0L
, i.e. "globalmax"
,
the values for gamma
and tbase
are set to their
default values, even if the user supplied different values.
A list containing the options. Missing options are set to their default value.
Paul Fink Paul.Fink@stat.uni-muenchen.de
1 2 3 4 5 6 7 8 9 10 11 | ## Check performed for splitmetric 'globalmax',
## tbase' is default generated and 'gamma' is overwritten
## (see Details), tree is grown to full depth and
## at least 5 observations are needed to be within each node
imptree_control(splitmetric = 0, gamma = 0.5,
depth = NULL, minbucket = 5)
## Passing some control arguments in a list
## As splitmetric is 'range', gamma is respected
imptree_control(splitmetric = 1, minbucket = 5,
controlList = list(gamma = 0.5, depth = NULL))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.