medoid: Finds medoid of data

View source: R/cluspath.R

medoidR Documentation

Finds medoid of data

Description

Finds medoid of data

Usage

medoid(data, maxn = 4000)

Arguments

data

A dataframe

maxn

For datasets with more than maxn rows, use maxn randomly selected rows.

Value

A dataframe with one row, which is the medoid of the data, based on (standardised) daisy dist

Examples

medoid(mtcars)


condvis2 documentation built on Sept. 14, 2022, 5:06 p.m.