add_lines: Add curves/lines to a mosaic plot

Description Usage Arguments Value

Description

Add curves/lines to a mosaic plot

Usage

1
2
3
4
5
add_lines(df, column = "shp", col = rep(par("fg"), nrow(df)), lwd = rep(1,
  nrow(df)), lty = rep(par("lty"), nrow(df)), ...)

add_curves(df, column = "shp", col = rep(par("fg"), nrow(df)),
  lwd = rep(1, nrow(df)), lty = rep(par("lty"), nrow(df)), ...)

Arguments

df

mosaic_df

column

(shp by default) name or position of a column in df to feed lines().

col

color (recycled) to feed lines()

lwd

numeric (recycled) to feed lines()

lty

numeric (recycled) to feed lines()

...

additional arguments to feed lines()

Value

the mosaic_df, invisibly


vbonhomme/Momosaics documentation built on May 4, 2019, 10:56 a.m.