Description Usage Arguments Value Author(s) See Also

Computes masses and weights for `epGPCA`

.

1 |

`DATA` |
original data; will be used to compute masses and weights if none are provided. |

`masses` |
a vector or (diagonal) matrix of masses for the row items. If NULL (default), masses are computed as 1/# of rows |

`weights` |
a vector or (diagonal) matrix of weights for the column items. If NULL (default), weights are computed as 1/# of columns |

Returns a list with the following items:

`M` |
a diagonal matrix of masses (if too large, a vector is returned). |

`W` |
a diagonal matrix of weights (if too large, a vector is returned). |

Derek Beaton

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.