transform_shape {animint2}R Documentation

Function to transform R shapes into d3 shapes...

Description

Function to transform R shapes into d3 shapes...

Usage

transform_shape(dframe)

Arguments

dframe

Data frame with columns shape, fill, colour.

Value

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


[Package animint2 version 2024.1.24 Index]