Description Usage Arguments Details Value Note Author(s) References See Also Examples
Display a Bertin plot of a data matrix.
This is a high level variant of bertinrect
.
1 2 3 4 5 6 7 8 9 10 |
z |
a data matrix. |
roworder |
permutation used for rows. |
colorder |
permutation used for columns. |
var.orientation |
variable orientation. Should be one of "byrow"=Bertin conventions, "bycolumn"=R conventions, "global". |
main |
main title. |
sub |
sub-title. |
mar |
margin. Margin space for row and column labels will be added. The R default is c(5, 4, 4, 2) + 0.1. |
zcol |
a data matrix of index values for use with the colour palette. |
palette |
a colour palette for the display of the data matrix. |
showpalette |
include palette ramp in display. |
... |
additional parameters, passed to |
A grid of rectangles is displayed to represent the data. Typically, the value is encoded as height. See the references below for details.
sub
is shown in the first margin line. To get more control of title format and pages, use title
.
If showpalette
is TRUE, the palette is shown in the plot margin area.
A data matrix with display specification added as attributes. Details are subject to change.
This is invisible
.
Still experimental. This is a bertin specific wrapper for bertinrect
.
We try to follow Bertin's original model, but consistency with R traditions suggest other choices occasionally.
Following Bertin, we display variables as rows as a default. This can be controlled by var.orientation
.
We use a grey level palette as a default, whereas Bertin used black and white. Use palette = c("white", "black")
as an argument to get Bertin's choice.
Break points for colour choice are based on range. We use the mid-range as default cut point for a two colour choice, whereas Bertin uses the mean as cut point.
G. Sawitzki
J. Bertin: La graphique et le traitement graphique de l'information. Flammarion: Paris 1977.
A. de Falguerolles; F. Friedrich & G Sawitzki: A Tribute to J. Bertin's Graphical Data Analysis. Published in: W. Bandilla, F. Faulbaum (eds.): SoftStat '97. Advances in Statistical Software 6. Lucius & Lucius, Stuttgart 1997. (provided in the doc section of this package)
1 2 3 4 5 6 7 8 9 10 | library(bertin)
data(Hotel)
plot.bertin(Hotel)
plot.bertin(Hotel,aspz=0.5)
plot.bertin(Hotel, palette=c("white","black"))
# rows rearranged by rank correlation to varible 19 (Occupation)
plot.bertin(Hotel, roworder = bertin.order(bertinrank(Hotel), pivot="Occupation"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.