Learn R Programming

dcortools (version 0.1.7)

extract_np: Extract the dimensions of X.

Description

Extract the dimensions of X.

Usage

extract_np(X, type.X)

Value

The centralized distance matrix corresponding to 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.