Learn R Programming

vegtable (version 0.1.8)

names: 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 vegtable
names(x)

# S4 method for vegtable dimnames(x)

# S4 method for coverconvert names(x)

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

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.

Arguments

x

An object of class coverconvert or vegtable.

value

A character vector used for replacement methods.

Author

Miguel Alvarez kamapu78@gmail.com.

Examples

Run this code
names(Kenya_veg@coverconvert)
names(Kenya_veg)
dimnames(Kenya_veg)

Run the code above in your browser using DataLab