'names<-.disto“ {disto}R Documentation

Set names/labels

Description

Set names/labels of the underlying distance storing backend

Usage

## S3 replacement method for class 'disto'
names(x) <- value

Arguments

x

disto object

value

A character vector

Value

invisible disto object

Examples

temp <- stats::dist(iris[,1:4])
dio <- disto(objectname = "temp")
dio
names(dio) <- paste0("a", 1:150)

[Package disto version 0.2.0 Index]