Learn R Programming

archetypes (version 2.0-2)

skeletonplot: Skeleton plot.

Description

Skeleton plot.

Usage

skeletonplot(x, skel.width=100, skel.height=200, ylab="Height (cm)", base.radius=2,
    xlab="", 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, ...)
jd()

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

  • skeletonplot: List of skeleton instances. jd: Generic skeleton instance.

Details

skeletonplot: Displays a schematic representation of skeleton data as available in dataset skel. jd: Displays a generic skeleton with annotations explaining the measurements available in data set skel.

See Also

skel