plot.compositional: Plot a pie chart

Description Usage Arguments Examples

View source: R/plot.R

Description

Plots an object of class compositional as a pie chart

Usage

1
2
## S3 method for class 'compositional'
plot(x, sname, annotate = TRUE, colmap = NULL, ...)

Arguments

x

an object of class compositional

sname

the sample name

annotate

a boolean flag controlling if the pies of the pie-chart should be labeled

colmap

an optional string with the name of one of R's built-in colour palettes (e.g., heat.colors, terrain.colors, topo.colors, cm.colors), which are to be used for plotting the data.

...

optional parameters to be passed on to the graphics object

Examples

1
2
data(Namib)
plot(Namib$Major,'N1',colmap='heat.colors')

pvermees/provenance documentation built on Oct. 7, 2018, 9:06 a.m.