Learn R Programming

animint (version 2017.01.04)

transform_shape: 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.