faces(x, which = <<see below>>, labels = 1:nrow(x), head = "", max = ncol(x), nrow = <<see below>>, ncol = <<see below>>, fill = T, scale = T, byrow = F)
x
to be used as the first, second, etc.
parameter in the symbolic face.
The default is
1:min(15,ncol(x))
.
See below for the meaning of the parameters.
x
).
ncol(x)
rows and
ncol(x)
columns of faces on each page.
TRUE
, all unused parameters of the face
will be set to their nominal (midpoint) value. If
FALSE
, all
features corresponding to unused parameters will not be
plotted.
TRUE
, the columns of
x
will be
independently scaled to (0,1). If
FALSE
no scaling will be
done. The data values should then be scaled to the same
overall range by some other means; e.g., by scaling the whole
of
x
to the range (0,1).
TRUE
, plots are produced in row-wise order; if
FALSE
,
plots are produced in column-wise order.
Features involving missing values are not drawn; another strategy would be
to assign the mean value of the variable to a missing value.
The feature parameters are: 1-area of face; 2-shape of face;
3-length of nose; 4-location of mouth; 5-curve of smile; 6-width
of mouth; 7, 8, 9, 10, 11-location, separation, angle, shape and
width of eyes; 12-location of pupil; 13, 14, 15-location, angle and
width of eyebrow.
faces
resets the graphical parameters
mfrow
and
mfcol
to
the value
c(1,1)
, even if they had a different value prior to calling
faces
.
Chernoff, H. (1973). The use of Faces to Represent Points in k-Dimensional Space Graphically. Journal of the American Statistical Association, 68, 361-368.
faces(chernoff2[1:9,], head = "Chernoff's Second Example (9 observations)") faces(t(cereal.attitude), labels = dimnames(cereal.attitude)[[2]], ncol = 3)