Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!cs.utexas.edu!uwm.edu!bionet!ames!eos!eugene From: eugene@eos.arc.nasa.gov (Eugene Miya) Newsgroups: comp.graphics.visualization Subject: Re: Chernoff's Faces Message-ID: <7781@eos.arc.nasa.gov> Date: 9 Jan 91 21:11:23 GMT References: <1894@umriscc.isc.umr.edu> <1991Jan9.080839.20752@chx400.switch.ch> Reply-To: eugene@eos.UUCP (Eugene Miya) Organization: NASA Ames Research Center, Calif. Lines: 51 As was pointed out to me, Rick Becker's S stat package has them. Here's the help command on it. See the book for the graphic examples. I recommend the paper reference. --e.n. miya, NASA Ames Research Center, eugene@eos.arc.nasa.gov {uunet,mailrus,most gateways}!ames!eugene AMERICA: CHANGE IT OR LOSE IT. > help("faces") faces: Plot Symbolic Faces faces(x, which, labels, head, max, nrow, ncol, fill, scale, byrow) ARGUMENTS: x: matrix of data values. which: the columns of `x' to be used as the first, second, etc. parameter in the symbolic face. Default `1:min(15,ncol(x))'. See NOTE below for meaning of parameters. labels:optional character vector of labels for the faces (i.e., for the rows of `x'). head: optional character vector to use as the heading for the plot. max: a suggested value for the number of rows and columns to go on each page. By default, all the faces will be fitted onto one page. nrow: ncol: optionally, may be given to specify exactly the number of rows and columns for the array of plots on each page. fill: if TRUE (the default), 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. scale: if TRUE (the default), 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). byrow: if TRUE, plots produced in row-wise order; if FALSE (the default) plots are produced in column-wise order. NOTE: the feature parameters are: 1-area of face; 2-shape of face; 3-length of nose; 4-loc. of mouth; 5-curve of smile; 6-width of mouth; 7,8,9,10,11-loc., separation, angle, shape and width of eyes; 12-loc. of pupil; 13,14,15-loc., angle and width of eyebrow. REFERENCE H. Chernoff, "The use of Faces to Represent Points in k-Dimensional Space Graphically", Journal of the American Statistical Association, Vol. 68, pp 361-368, 1973. EXAMPLES: faces(chernoff2,head="Chernoff's Second Example")