xytest: xy testing function

View source: R/test.R

xytestR Documentation

xy testing function

Description

tests json files with bivariate decision boundaries

Usage

xytest(
  fname,
  xlim = NULL,
  ylim = NULL,
  xlab = NULL,
  ylab = NULL,
  log = "",
  show.labels = TRUE,
  short = FALSE,
  smooth = FALSE,
  polygons = FALSE,
  ...
)

Arguments

fname

path to a json file

xlim

(optional) 2-element vector with the x-axis limits

ylim

(optional) 2-element vetor with the y-axis limits

xlab

(optional) x-axis label

ylab

(optional) y-axis label

log

one of

'' linear axes

'x' semilogarithmic plot with linear y axis and logarithmic x axis

'y' semilogarithmic plot with linear x axis and logarithmic y axis

'xy' log-log plot

show.labels

logical. If TRUE, labels the decision fields.

short

logical. If TRUE, uses short labels

smooth

logical. If TRUE, plots lines as xsplines.

polygons

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

...

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.