Learn R Programming

Sushi (version 1.10.0)

maptolwd: maps numeric vector to line widths

Description

maps numeric vector to line widths

Usage

maptolwd(lwdby, range = c(1, 5))

Arguments

lwdby
numeric vector to map to line widths
range
range of values to map

Examples

Run this code
plot((1:10),lwd=maptolwd(lwdby=(1:10)))

Run the code above in your browser using DataLab