Learn R Programming

animint2 (version 2025.1.28)

transform_shape: Function to transform R shapes into d3 shapes...

Description

Function to transform R shapes into d3 shapes...

Usage

transform_shape(dframe)

Value

Data frame transformed so that shape corresponds to d3 shape. Also includes Rshape column for debugging.

Arguments

dframe

Data frame with columns shape, fill, colour.