aRTlayer-getMetric {aRT}R Documentation

getMetric

Description

Returns some spatial operation that is not stored in the layer. It rerurns the result of this operation over each element.

Usage


## S4 method for signature 'aRTlayer':

getMetric(object, metric)

Arguments

object Object of class aRTlayer.
metric One metric among:
  • area
  • length

Author(s)

Pedro Ribeiro de Andrade Neto

See Also

See aRTlayer-class to the description of this class.

Examples


## Not run: 

getMetric(layer, "hull")

getMetric(layer, "buffer", dist=500)

## End(Not run)

[Package aRT version 0.5-0 Index]