medoid {condvis2} | R 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)
[Package condvis2 version 0.1.2 Index]