droplevels,hyperSpec-method {hyperSpec}R Documentation

droplevels for hyperSpec object

Description

calls base::droplevels() on the data.frame in spc@data.

Usage

## S4 method for signature 'hyperSpec'
droplevels(x, ...)

Arguments

x

hyperSpec object

...

handed to base::droplevels.data.frame()

Value

hyperSpec object with unused levels of all factors in ⁠@data⁠ dropped.

See Also

base::droplevels()

Examples


chondro[1:3]$clusters
droplevels (chondro [1:3])$clusters

[Package hyperSpec version 0.100.2 Index]