plot.sk_partition_tree {SK4FGA}R Documentation

Plot S3method for objects of type "sk_partition_tree".

Description

S3method for plotting the resulting tree formed by the partitioning algorithms in the SK4FGA package.

Usage

## S3 method for class 'sk_partition_tree'
plot(x, ...)

Arguments

x

Output from the function "partition()"

...

Extra details for the plot. Unused.

Value

Plot of the decision tree that is formed by the sk_partition_tree object returned by partition and partition.multi.

Examples


data = generate_indices()
part = partition(data)
plot.sk_partition_tree(part)

data(glass)
data.multi = prepare_data(glass, 1)[1:3]
part = partition.multi(data.multi)
plot(part)


[Package SK4FGA version 0.1.1 Index]