BranchSupportOptions | R Documentation |
BranchSupportOptions
is an R6 class that defines options for calculating
decay indices.
index_type
A character vector indicating the type of index to
calculate. Options are either absolute
(default) or
relative
.
group_loss_cost
A character vector indicating what cost to use for losing a group in a suboptimal tree.
suboptimal_steps
An integer value indicating the maximum absolute fit difference (i.e., length difference) of suboptimal trees to use for calculating supports.
relative_suboptimal_fit
A numeric value indicating the maximum relative fit difference of suboptimal trees to use for calculating supports.
group_collapse_value
An integer value indicating the support value below which groups in the tree will be collapsed. Can be zero or a negative number.
new()
BranchSupportOptions$new( index_type = "absolute", group_loss_cost = "standard", group_collapse_value = 1, suboptimal_steps = 10, relative_suboptimal_fit = NULL )
index_type
A character vector indicating the type of index to
calculate. Options are either absolute
(default) or
relative
.
group_loss_cost
A character vector indicating what cost to use for losing a group in a suboptimal tree.
group_collapse_value
An integer value indicating the support value below which groups in the tree will be collapsed. Can be zero or a negative number.
suboptimal_steps
An integer value indicating the maximum length of suboptimal trees to keep during branch swapping.
relative_suboptimal_fit
A numeric value indicating the maximum relative fit difference of suboptimal trees to use for calculating supports.
print()
BranchSupportOptions$print(...)
...
Ignored.
queue()
BranchSupportOptions$queue(...)
...
Ignored.
clone()
The objects of this class are cloneable with this method.
BranchSupportOptions$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.