face {RGraphics}R Documentation

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)
faceB(x, y, width, height)
faceC(x, y, width, height)
faceD(x, y, width, height)

Arguments

x, y, width, height

Numeric values or unit objects specifying the location and size of the face.

Details

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


[Package RGraphics version 3.0-2 Index]