Learn R Programming

pnn (version 1.0.1)

norms: Norms

Description

Gaussian random sample dataset.

Arguments

Format

A data-frame with 400 rows and 3 columns (category c and coordinates x and y).

Details

This dataset generates gaussian random points with mean equals to 1 and standard deviation equals to 0.25. Each point has a category attribute A or B. They are centered at (1,1) and (2,2) for category A; centered at (1,2) and (2,1) for category B.

See Also

pnn-package, learn, smooth, perf, guess

Examples

Run this code
library(pnn)
data(norms)
# Just see the first observations
norms[1:10,]

Run the code above in your browser using DataLab