Prepare Data for Plotting
Arguments
- x
- A - MultivariateAnalysisobject.
- margin
- A length-one - numericvector giving the subscript which the data will be returned:- 1indicates individuals/rows (the default),- 2indicates variables/columns.
- ...
- Further graphical parameters. 
- axes
- A length-two - numericvector giving the dimensions to be plotted.
- active
- A - logicalscalar: should the active observations be plotted?
- sup
- A - logicalscalar: should the supplementary observations be plotted?
- principal
- A - logicalscalar: should principal coordinates be returned? If- FALSE, standard coordinates are returned.
- extra_quali
- An optional vector of qualitative data for aesthetics mapping. 
- extra_quanti
- An optional vector of quantitative data for aesthetics mapping. If a single - characterstring is passed, it must be one of "- observation", "- mass", "- sum", "- contribution" or "- cos2" (see- augment()).
- color
- The colors for lines and points (will be mapped to - extra_quantior- extra_quali; if both are set, the latter has priority). Ignored if set to- FALSE. If- NULL, the default color scheme will be used.
- fill
- The background colors for points (will be mapped to - extra_quantior- extra_quali; if both are set, the latter has priority). Ignored if set to- FALSE.
- symbol
- A vector of plotting characters or symbols (will be mapped to - extra_quali). This can either be a single character or an integer code for one of a set of graphics symbols. If- symbolis a named a named vector, then the symbols will be associated with their name within- extra_quali. Ignored if set to- FALSE.
- size
- A length-two - numericvector giving range of possible sizes (greater than 0; will be mapped to- extra_quanti). Ignored if set to- FALSE.
- line_type
- A specification for the line type (will be mapped to - extra_quali). If- line_typeis a named a named vector, then the line types will be associated with their name within- extra_quali. Ignored if set to- FALSE.
- line_width
- A specification for the line type and width (will be mapped to - extra_quanti). Ignored if set to- FALSE.
Value
A data.frame with the following columns:
- x
- Coordinates along x. 
- y
- Coordinates along y. 
- extra_quali
- Extra qualitative variable to be highlighted. 
- extra_quanti
- Extra quantitative variable to be highlighted. 
- label
- Label. 
- sup
- Is supplementary? 
- col
- Color for lines and symbols. 
- bg
- Background color for symbols. 
- pch
- Symbols. 
- cex
- Symbol sizes. 
- lty
- Line types. 
- lwd
- Line widths. 
