View source: R/projection_matrix.R

Given a linear dimension reduction method projection_matrix parses the data and uses the specific linear dimension reduction to return the projection matrix. The projection_matrix function should be used if the user wishes just to produce the projection matrix as opposed to the data reduction matrix.

1 2 3 4 5 6 7 | ```
projection_matrix(x, ...)
## S3 method for class 'list'
projection_matrix(x, method = SYS, ...)
## Default S3 method:
projection_matrix(x, method = SYS, ..., group)
``` |

`x` |
data or reduced class object |

`...` |
options past to linear dimension reduction methods |

`method` |
linear dimension reduction methods |

`group` |
the grouping variable in the 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.