Learn R Programming

sampSurf (version 0.7-6)

getID-methods: Methods for Function getID in Package sampSurf

Description

Please see the generic, this is a simple function for which each of the methods returns a vector (sometimes of length one) of identifiers for the objects passed. The IDs can be buried deeply within the object, especially when they are spatial IDs, so it is simpler to have these little helper methods.

Please note that identifiers for "'>Stem" class objects are the spatial IDs used in the polygon representing the individual log or tree.

Arguments

Methods

signature(object = "downLog")

This will return the spatial ID for the log as the log's identifier.

usage…

getID(object, ...)

  • object: An object of class “downLog”.

%item

signature(object = "downLogs")

Returns a vector of spatial IDs for the logs in the collection.

usage…

getID(object, ...)

  • object: An object of class “downLogs”.

%item

signature(object = "standingTree")

This will return the spatial ID for the tree as the tree's identifier.

usage…

getID(object, ...)

  • object: An object of class “standingTree”.

%item

signature(object = "standingTrees")

Returns a vector of spatial IDs for the trees in the collection.

usage…

getID(object, ...)

  • object: An object of class “standingTrees”.

%item