l_serialaxes.Rd
The seerialaxes widget displays multivariate data either as a stacked star glyph plot, or as a parallel coordinate plot.
l_serialaxes(data, sequence, scaling = "variable", axesLayout = "radial", showAxes = TRUE, parent = NULL, ...)
data | a data frame with numerical data only |
---|---|
sequence | vector with variable names that defines the axes sequence |
scaling | one of 'variable', 'data', 'observation' or 'none' to specify how the data is scaled. See Details for more information |
axesLayout | either |
showAxes | boolean to indicate whether axes should be shown or not |
parent | parent widget path |
... | state arguments, see |
plot handle object
The scaling
state defines how the data is scaled. The axes
display 0 at one end and 1 at the other. For the following explanation
assume that the data is in a nxp dimensional matrix. The scaling options
are then
variable | per column scaling |
observation | per row scaling |
data | whole matrix scaling |
none | do not scale |
s <- l_serialaxes(data=oliveAcids, color=olive$Area, title="olive data") s['axesLayout'] <- 'parallel' states <- l_info_states(s) names(states)#> [1] "linkingGroup" "linkingKey" "itemLabel" "showItemLabels" #> [5] "showAxes" "showAxesLabels" "linewidth" "scaling" #> [9] "axesLayout" "showArea" "axesLabels" "data" #> [13] "sequence" "active" "color" "selected" #> [17] "showGuides" "showLabels" "useLoonInspector" "title" #> [21] "tag"