Learn R Programming

Momocs (version 1.4.1)

papers: grindr papers for shape plots

Description

Papers on which to use drawers for building custom shape plots using the grindr approach. See examples and vignettes.

Usage

paper(coo, ...)

paper_white(coo)

paper_grid(coo, grid = c(10, 5), cols = c("#ffa500", "#e5e5e5"), ...)

paper_chess(coo, n = 50, col = "#E5E5E5")

paper_dots(coo, pch = 20, n = 50, col = "#7F7F7F")

Value

a drawing layer

Arguments

coo

a single shape or any Coo object

...

more arguments to feed the plotting function within each paper function

grid

numeric of length 2 to (roughly) specify the number of majors lines, and the number of minor lines within two major ones

cols

colors (hexadecimal preferred) to use for grid drawing

n

numeric number of squares for the chessboard

col

color (hexadecimal) to use for chessboard drawing

pch

to use for dots

See Also

Other grindr: drawers, layers_morphospace, layers, mosaic_engine(), pile(), plot_LDA(), plot_NMDS(), plot_PCA()