Plot all shapes as a mosaic

mosaic(x, f, ..., ncol, geom)

Arguments

x

a Momocs object

f

a factor column to skip lines after the end of each level

...

additional parameters to feed geom(...).

ncol

integer that specifies the number of columns. Otherwise, a roughly squared mosaic is produced.

geom

which ggplot2::geom to use (ggplot2::geom_polygon by default)

Value

a ggplot object

See also

Other family_picture: inspect()

Examples

bot %>% mosaic()
mosaic(bot, type, ncol=6, ggplot2::aes(col=type))