create_pie_objects: Create a set of mesh3d objects representing a pie chart

Description Usage Arguments Value

Description

Create a set of mesh3d objects representing a pie chart

Usage

1
2
create_pie_objects(labels, counts, start_degrees = 0, tilt_degrees = 0,
  height = 0.1, camera_eye = c(0, 3, 5), camera_look_at = c(0, 0, 0))

Arguments

labels

the labels for the segments

counts

the count of occurrences for each label

start_degrees

starting angle for first pie slice (in degrees). Default: 0

tilt_degrees

angle by which to tilt the pie towards the camera (in degrees). Default: 0

height

height of the pie. Default: 0.1

camera_eye

location of camera eye. Default: c(0, 3, 5)

camera_look_at

at what point is the camera looking. Default: c(0, 0, 0)

Value

mesh3dlist of objects


coolbutuseless/ggthreed documentation built on May 16, 2019, 7:14 p.m.