Calculate the LDA projection pursuit index. See Cook and Swayne (2007) Interactive and Dynamic Graphics for Data Analysis for equations.
class to be used. Such as "color"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.