Learn R Programming

archetypes (version 1.0)

skeletonplot: Skeleton plot.

Description

Skeleton plot.

Usage

skeletonplot(x, skel.width=100, skel.height=200, base.radius=2, xlab='',
ylab='Height (cm)', xlim=(nrow(x) * c(0, skel.width)), ylim=c(0,
skel.height), col=c(hipbase = 1, hip = 1, shoulderbase = 1,
shoulder = 1, head = 1, elbow=2, wrist=3, knee=4, ankle=5,
chest='purple1', pelvis=6), mtext=TRUE, skel.lwd=1, ...)

Arguments

x
Matrix or data.frame of skeleton data.
skel.width
Reference width for instance calculation.
skel.height
Reference height for instance calculation.
base.radius
Base radius for points.
xlab
The x label of the plot.
ylab
The y label of the plot.
xlim
Numeric of length 2 giving the x limits for the plot.
ylim
Numeric of length 2 giving the y limits for the plot.
col
Color of the different parts of the skeleton.
mtext
Label archetypes.
skel.lwd
Line width of skeleton.
...
Passed to underlying canvas plot function.

Value

  • List of skeleton instances.

Details

Displays a schematic representation of skeleton data as available in dataset skel.

See Also

skel, jd