Learn R Programming

RGraphics (version 1.0-9)

face: Draw a face

Description

Draws a face, consisting of a rectangle for the border, circles for eyes, and a line for the mouth.

Usage

faceA(x, y, width, height)

Arguments

x, y, width, height
Numeric values or unit objects specifying the location and size of the face.

synopsis

faceA(x, y, width, height) faceB(x, y, width, height) faceC(x, y, width, height) faceD(x, y, width, height) faceE(x, y, width, height)

Details

The functions faceA and faceB are graphics functions to be used for their side-effect of producing graphical output. The functions faceC, faceD, and faceE return a grob representing a face (and produce no output).