data.target2: Target2 dataset

data.target2R Documentation

Target2 dataset

Description

Generate a random dataset shaped like a target.

Usage

data.target2(
  minr = c(0, 2),
  maxr = minr + 1,
  initn = 1000,
  levels = NULL,
  graph = TRUE,
  seed = NULL
)

Arguments

minr

Minimum radius of each class.

maxr

Maximum radius of each class.

initn

Number of observations at the beginning of the generation process.

levels

Name of each class.

graph

A logical indicating whether or not a graphic should be plotted.

seed

A specified seed for random number generation.

Value

A randomly generated dataset.

See Also

data.diag, data.parabol, data.target1, data.twomoons, data.xor

Examples

data.target2 ()

fdm2id documentation built on July 9, 2023, 6:05 p.m.

Related to data.target2 in fdm2id...