
Serialaxes glyph show either a star glyph or a parallel coordinate glyph for each point.
l_glyph_add_serialaxes(
widget,
data,
sequence,
linewidth = 1,
scaling = "variable",
axesLayout = "radial",
showAxes = FALSE,
andrews = FALSE,
axesColor = "gray70",
showEnclosing = FALSE,
bboxColor = "gray70",
label = "",
...
)
widget path as a string or as an object handle
a data frame with numerical data only
vector with variable names that defines the axes sequence
linewidth of outline
one of 'variable', 'data', 'observation' or 'none' to specify how the data is scaled. See Details and Examples for more information.
either "radial"
or "parallel"
boolean to indicate whether axes should be shown or not
Andrew's curve (a 'Fourier' transformation)
color of axes
boolean, circle (axesLayout=radial) or sqaure (axesLayout=parallel) to show bounding box/circle of the glyph (or showing unit circle or rectangle with height 1 if scaling=none)
color of bounding box/circle
label of a glyph (currently shown only in the glyph inspector)
state arguments
Other glyph functions:
l_glyph_add()
,
l_glyph_add.default()
,
l_glyph_add_image()
,
l_glyph_add_pointrange()
,
l_glyph_add_polygon()
,
l_glyph_add_text()
,
l_glyph_delete()
,
l_glyph_getLabel()
,
l_glyph_getType()
,
l_glyph_ids()
,
l_glyph_relabel()
,
l_primitiveGlyphs()
if(interactive()){
p <- with(olive, l_plot(oleic, stearic, color=Area))
gs <- l_glyph_add_serialaxes(p, data=olive[,-c(1,2)], showArea=FALSE)
p['glyph'] <- gs
}
Run the code above in your browser using DataLab