extract_np: Extract the dimensions of X.

Description Usage Arguments Value

View source: R/auxiliary_functions.R

Description

Extract the dimensions of X.

Usage

1
extract_np(X, type.X)

Arguments

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.

Value

The centralized distance matrix corresponding to X.


jofie/DistCov documentation built on May 23, 2019, 9:02 p.m.