extract_np {dcortools}R 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.


[Package dcortools version 0.1.6 Index]