Learn R Programming

vegtable (version 0.1.3)

names: Retrieve names of vegtable and coverconvert objects.

Description

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

Usage

# S4 method for coverconvert
names(x)

# S4 method for vegtable names(x)

# S4 method for vegtable dimnames(x)

Arguments

x

An object of class '>vegtable or '>coverconvert.

Value

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

Details

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

Examples

Run this code
# NOT RUN {
library(vegtable)
data(Kenya_veg)

## All possibilities shown in 'Usage'
names(Kenya_veg@coverconvert)
names(Kenya_veg)
dimnames(Kenya_veg)
# }

Run the code above in your browser using DataLab