Partitioning | R Documentation |
This is the abstract superclass for partitioning objects like PartitioningCtree and PartitioningRpart.
A Partitioning contains information about feature subspaces with conditional average marginal effects (cAME) computed for ForwardMarginalEffect
objects.
object
a ForwardMarginalEffect
object with results computed
method
the method for finding feature subspaces
value
the value of method
results
descriptive statistics of the resulting feature subspaces
tree
the tree representing the partitioning, a party
object
tree.control
control parameters for the RP algorithm
computed
logical specifying if compute() has been run
new()
Create a Partitioning object
Partitioning$new(...)
...
Partitioning cannot be initialized, only its subclasses
compute()
Computes the partitioning, i.e., feature subspaces with more homogeneous FMEs, for a ForwardMarginalEffect
object.
Partitioning$compute()
An Partitioning
object with results.
# Compute results for an arbitrary partitioning: # subspaces$compute()
plot()
Plots results, i.e., a decision tree and summary statistics of the feature subspaces, for an Partitioning
object after $compute()
has been run.
Partitioning$plot()
# Plot an arbitrary partitioning: # subspaces$plot()
clone()
The objects of this class are cloneable with this method.
Partitioning$clone(deep = FALSE)
deep
Whether to make a deep clone.
## ------------------------------------------------
## Method `Partitioning$compute`
## ------------------------------------------------
# Compute results for an arbitrary partitioning:
# subspaces$compute()
## ------------------------------------------------
## Method `Partitioning$plot`
## ------------------------------------------------
# Plot an arbitrary partitioning:
# subspaces$plot()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.