Saturday, August 21, 2010

Drawing Chernoff faces / star plots with R.

One unusual chart available with R is Chernoff faces available from the aplpack library.
It tries to draw a human face for each row of observation containing a maximum of 15 columns by varying the following human head features:
  1. height of face
  2. width of face
  3. structure of face
  4. height of mouth
  5. width of mouth
  6. smiling
  7. height of eyes
  8. width of eyes
  9. height of hair
  10. width of hair
  11. style of hair
  12. height of nose
  13. width of nose
  14. width of ear
  15. height of ear

Here is a sample figure generated by visiting our chernoff-faces solver page at rplotpage/chernoff



This page also allows you to draw a stars page too. To see the difference, check the following figure:



We will have to update the start generation code.

No comments:

Post a Comment