getdis: Get distance matrix

View source: R/getdis.R

getdisR Documentation

Get distance matrix

Description

This function returns the distance matrix using L2 distance.

Usage

getdis(y)

Arguments

y

dataset of the pooled data

Value

A distance matrix based on the L2 distance.

Examples

data(example0)
data = as.matrix(example0$data)     # pooled dataset
getdis(data)


rgTest documentation built on Aug. 14, 2023, 5:08 p.m.