featurenames-methods: Feature names of Zonation variant.

Description Usage Arguments Details Value Note Author(s) See Also Examples

Description

Get and set names for analysis features used a given Zonation variant.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
featurenames(x)

featurenames(x) <- value

## S4 method for signature 'ZCurvesDataFrame'
featurenames(x)

## S4 replacement method for signature 'ZCurvesDataFrame,character'
featurenames(x) <- value

## S4 method for signature 'Zresults'
featurenames(x)

## S4 method for signature 'Zvariant'
featurenames(x)

## S4 replacement method for signature 'Zvariant,character'
featurenames(x) <- value

Arguments

x

Z* object.

value

character vector of feature names to be assigned. Can be named or not.

Details

Argument x can be an instance of one the following Z* classes:

Value

Character vector of spp feature names.

Note

spp features have by default names that are derived from the feature raster file path.

Author(s)

Joona Lehtomaki joona.lehtomaki@gmail.com

See Also

Zvariant-class Zresults-class groupnames groups

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
 setup.dir <- system.file("extdata/tutorial/basic", package="zonator")
 tutorial.project <- create_zproject(setup.dir)
 variant.caz <- get_variant(tutorial.project, "01")

 # Feature names for a Zvariant object
 featurenames(variant.caz)

 # Feature names for a Zresults object
 results.caz <- results(variant.caz)
 featurenames(results.caz)

## End(Not run)

cbig/zonator documentation built on May 23, 2020, 7:02 a.m.