xyz2xy | R Documentation |
Helper function to generate bivariate plot coordinates for ternary data.
xyz2xy(xyz)
xyz |
an |
an n x 2
numerical matrix
xyz <- rbind(c(1,0,0),c(0,1,0),c(0,0,1),c(1,0,0)) xy <- xyz2xy(xyz) plot(xy,type='l',bty='n')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.