Cross Validated Principal Components Analysis

mapcols | Find a mapping of columns from cols into refcols that most... |

predict.sprcomp | apply principal component projection/rotation. |

sprcomp | compute principal components using efficient svd. |

xprcomp | compute principal projection simulating out of sample data. |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.