extract_np: Extract the dimensions of X.

View source: R/auxiliary_functions.R

extract_npR Documentation

Extract the dimensions of X.

Description

Extract the dimensions of X.

Usage

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.


dcortools documentation built on Dec. 8, 2022, 1:11 a.m.