Learn R Programming

powerbrmsINLA (version 1.1.1)

.geom_line_lw: Create a ggplot2 Line Layer with Version-Compatible Width

Description

Creates a geom_line with a width argument adapted to ggplot2 version.

Usage

.geom_line_lw(mapping = NULL, data = NULL, ..., width = 1)

.geom_line_lw(mapping = NULL, data = NULL, ..., width = 1)

Value

ggplot2 layer for lines.

ggplot2 layer for lines.

Arguments

mapping

Mapping aesthetic.

data

Data frame.

...

Additional parameters passed to geom_line.

width

Numeric line width for lines, default 1.