names: Method names

namesR Documentation

Method names

Description

The names method returns the names of the dimnames of an object. For some classes, the names attribute can be modified directly using names<-.

Usage

## S4 method for signature 'FLArray'
names(x)

## S4 method for signature 'FLPar'
names(x)

## S4 replacement method for signature 'FLPar,character'
names(x) <- value

Generic function

names(x) names<-(x, value)

Author(s)

The FLR Team

See Also

names

Examples

# FLQuant
data(ple4)
names(catch.n(ple4))

# Contrast this with
dimnames(catch.n(ple4))


flr/FLCore documentation built on May 4, 2024, midnight