spc: Plotly pie chart, simple, but nicely formatted.

Description Usage Arguments Value

View source: R/functions.R

Description

Plotly pie chart, simple, but nicely formatted.

Usage

1
spc(x, title_string, color_vec, show_legend = FALSE, dropNA = TRUE)

Arguments

x

dataframe

title_string

string, title of plot

color_vec

vector, colours for plot

show_legend

logical, whether to show legend in plot

dropNA

logical, whether to drop null values before making graph.

Value

Plotly pie chart.


IskanderBlue/morseldash documentation built on Oct. 30, 2019, 7:24 p.m.