View source: R/auxiliary_functions.R

extract_np | R Documentation |

Extract the dimensions of X.

extract_np(X, type.X)

`X` |
a numeric vector or a numeric matrix. |

`type.X` |
either "sample" or "distance". If type.X = "sample", X must be a numeric vector or numeric matrix with the corresponding observations. If metr.X = "distance", X must be a distance matrix. |

The centralized distance matrix corresponding to X.

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.