| ternary | R Documentation | 
Plot points, lines or text on a ternary diagram.
ternary(xyz = NULL, f = rep(1, 3), labels, add = FALSE, type = "p", ...)
| xyz | an  | 
| f | a three-element vector of multipliers for  | 
| labels | the text labels for the corners of the ternary diagram | 
| add | if  | 
| type | one of  | 
| ... | optional arguments to the  | 
data(ACNK,package='geostats')
ternary(ACNK,type='p',labels=c(expression('Al'[2]*'O'[3]),
                               expression('CaO+Na'[2]*'O'),
                               expression('K'[2]*'O')))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.