names: Retrieve names of vegtable and coverconvert objects

namesR Documentation

Retrieve names of vegtable and coverconvert objects

Description

Quick access to column names in slot header and names of conversion codes.

These methods provide a quick display of the contents in coverconvert and vegtable objects.

Usage

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

## S4 method for signature 'vegtable'
dimnames(x)

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

## S4 replacement method for signature 'coverconvert'
names(x) <- value

Arguments

x

An object of class coverconvert or vegtable.

value

A character vector used for replacement methods.

Value

A list containing the names from each slot.

Either a vector or a list (in the case of dimnames()) with the names of variables.

Author(s)

Miguel Alvarez kamapu78@gmail.com.

Examples

names(Kenya_veg@coverconvert)
names(Kenya_veg)
dimnames(Kenya_veg)

vegtable documentation built on March 31, 2023, 10:33 p.m.

Related to names in vegtable...