xyztest: xyz testing function

View source: R/test.R

xyztestR Documentation

xyz testing function

Description

tests json files with ternary decision boundaries

Usage

xyztest(
  fname,
  xyzlab = NULL,
  show.labels = TRUE,
  short = FALSE,
  polygons = FALSE,
  smooth = FALSE,
  ...
)

Arguments

fname

path to a json file

xyzlab

(optional) 3-element vector of corner labels.

show.labels

logical. If TRUE, labels the decision fields.

short

logical. If TRUE, uses short labels.

polygons

logical. If TRUE plots the decision polygons. If TRUE, plots the decision lines

smooth

logical. If TRUE, plots lines as xsplines.

...

additional arguments to the generic plot function

Value

a list of text strings

Examples

fn <- system.file('TiZrY.json',package='GeoplotR')
xyztest(fn)

pvermees/GeoplotR documentation built on Aug. 20, 2024, 4:45 a.m.