image.bertin: Display Bertin image

Description Usage Arguments Details Value Note Author(s) References Examples

Description

Display a Bertin matrix image.

Usage

1
2
3
4
5
6
7
8
9
## S3 method for class 'bertin'
image(z, 
	roworder,colorder,
	main, sub,
	mar= c(3,1,3,1)+0.1,
	palette = gray((255:0 / 255)^0.5),
	showpalette=TRUE,
	useRaster = FALSE,
	...)

Arguments

z

a data matrix.

roworder, colorder

Permutation or selection vector for rows or columns to display.

main

Main plot 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.

palette

a colour palette for the display of the data matrix.

showpalette

include palette ramp in display.

useRaster

logical; if TRUE a bitmap raster is used to plot the image instead of polygons. The grid must be regular in that case, otherwise an error is raised. TRUE seems to give aliasing problems.

...

additional parameters, passed to image.

Details

A matrix is displayed, with values color encoded by col. Optional permutations can be applied to rows and/or columns. The layout of the original data matrix is preserved in the display.

See the implementation references BertinR.pdf (included in the documentation) 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.

Value

A data matrix with display specification added as attributes. Details are subject to change. This is invisible.

Note

Still experimental. This is a bertin specific wrapper for imagem, which is a wrapper for .image.

Author(s)

G. Sawitzki

References

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)

Examples

1
2
3
4
data(Hotel)
hotelrks <- bertinrank(Hotel)
image.bertin(hotelrks)
image.bertin(hotelrks, aspz=0.5)

bertin documentation built on May 2, 2019, 5:54 p.m.

Related to image.bertin in bertin...