Description Usage Arguments Details Value Author(s) References See Also Examples
Display a data matrix using parallel coordinates as suggested by J. Bertin. Coordinates are set up such that each element x[i, j]
is represented in a unit square with bottom left at coordinates (i, j)
. By convention, variables are in rows, and cases are in columns.
plot.bertin
provides a high-level interface to bertinrect
.
1 2 3 4 5 6 7 | bertinrect(z, main = deparse(substitute(z)), sepwd = 0.05,
pars,
aspz,
mar = c(1, 1, 2, 1) + 0.1,
names = TRUE,
asp,
...)
|
z |
a data matrix, or data structure that can be casted to a matrix. |
main |
a main title for the plot, see also |
sepwd |
padding width for cells. The display of an element should be based at |
mar |
margin. Margin space for row and column labels will be added. |
pars |
Graphical parameters, see |
aspz |
Applied as a scaling factor to to |
names |
logical. If true, show row and column names. |
asp |
Aspect ratio. Kept for consistency with heritage. If present, overrides |
... |
additional parameters, passed to |
All facilities of rect
are accessible, to supply colour, shading, rearrangement.
If pars
is undefined, default parameters are selected, based on the data values and labels. The picture aspect ratio is chosen to allocate unit squares to each data cell.
If pars
is NULL
, no graphical parameters are changed, else pars
is passed to par
Row and column names are displayed in the margins. Adjust mar
or adjust the font size if necessary.
A list of graphical parameters, used to set par
is returned as invisible result.
Use this to generate series of plots with comparable geometry-
This is subject to change.
G. Sawitzki
de Falguerolles, A., Friedrich, F., Sawitzki, G. (1997): A Tribute to J. Bertin's Graphical Data Analysis. In: Proceedings of the SoftStat '97 (Advances in Statistical Software 6), 11–20.
This paper is included in the documentation.
http://bertin.r-forge.r-project.org/
image.bertin
, for a quick solution which uses display space to a maximum.
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.