Learn R Programming

FastHCS (version 0.0.7)

MultipleFeatures: Fourier coefficients describing the shape of many hand written replications of the numerals '0' and '1'.

Description

A data frame with the subset of the 'Multiple Features' dataset corresponding to the sample of '0' and '1' numerals.

Usage

data(MultipleFeatures)

Arguments

Format

Labels

Numerals.

Column 2--77

Fourier coefficients describing the shape of each observation.

Examples

Run this code
# NOT RUN {
data(MultipleFeatures)
alpha<-0.5
Q<-15
p<-ncol(MultipleFeatures[,-1])
ns<-FHCSnumStarts(q=Q,eps=(1-alpha)*4/5)
RunExample<-FALSE
if(RunExample){
	Fit<-FastHCS(x=MultipleFeatures[,-1],q=Q,nSamp=ns,seed=1)
	colvec<-rep("orange",nrow(MultipleFeatures))
	colvec[MultipleFeatures[,1]==1]<-"blue"
	plot(Fit,col=colvec,pch=16)
}

# }

Run the code above in your browser using DataLab