nails.screws {cluster.datasets} | R Documentation |
Hartigan (1975) Nails and Screws
Description
The table contains the attributes for a sample of nails and screws. This is Table 12.7 in Chapter 12 of Hartigan (1975) on page 228.
Usage
data(nails.screws)
Format
A data frame with 24 observations on the following 7 variables.
name
a character vector for the name of the object
threaded
a factor for the presence of threads with levels
N
Y
head
a factor for the type of head with levels
F
O
R
U
Y
indentation
a factor for the head indentation with levels
L
N
T
bottom
a factor for the type of bottom with levels
F
S
length
a numeric vector for the length in half inches
brass
a factor that determines if the object is made of brass with levels
N
Y
Details
All the attributes, with the exception of length, are factors. The factor values for the threaded variable are as follows.
Y | yes |
N | no |
The factor values for the head variable are as follows.
F | flat |
U | cut |
O | cone |
R | round |
Y | cylinder |
The factor values for the head indentation variable are as follows.
N | none |
T | star |
L | slit |
The value values for the brass variable are as follows
Y | yes |
N | no |
Source
Hartigan, J. A. (1975). Clustering Algorithms, John Wiley, New York.
SPAETH2 Cluster Analysis Datasets http://people.sc.fsu.edu/~jburkardt/datasets/spaeth2/spaeth2.html
References
Hartigan, J. A. (1975). Clustering Algorithms, John Wiley, New York.
Examples
data(nails.screws)