plot.kd.data.tree: Plot a scatter plot or a tree representation of a two...

Description Usage Arguments Author(s)

Description

If plotting.type = "scatter", plots a scatter plot of a two dimensional KD-Tree by drawing the coordinate data as points and adding lines where the data is split. Otherwise, if plotting.type = "tree", draws the two dimensional KD-Tree as a top down tree. Leafs are made square as per convention.

Usage

1
2
## S3 method for class 'kd.data.tree'
plot(x, ..., plotting.type = "scatter")

Arguments

x

An object of type kd.data.tree

...

Optional arguments to pass on

plotting.type

One of c("scatter", "tree")

Author(s)

Jurian Baas


Jurian/nearest.neighbour documentation built on May 23, 2019, 3:11 p.m.