| plot.compositional | R Documentation | 
Plots an object of class compositional as a pie chart
## S3 method for class 'compositional'
plot(x, sname, annotate = TRUE, colmap = NULL, ...)
x | 
 an object of class   | 
sname | 
 the sample name  | 
annotate | 
 a boolean flag controlling if the pies of the pie-chart should be labelled  | 
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  | 
data(Namib)
plot(Namib$Major,'N1',colmap='heat.colors')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.