powered by
Slot layers may include additional information that should be moved to samples in order to use it by subset, aggregate or crosstable methods.
subset
aggregate
crosstable
# S4 method for vegtable,character,character layers2samples(object, layer, variable, ...) # S4 method for vegtable,character,missing layers2samples(object, layer, variable, ...)
An object of class '>vegtable.
'>vegtable
Character value indicating a target layer.
Character vector with the names of variables to be inserted in slot 'samples'.
'samples'
Further arguments to be passed among methods.
An object of class '>vegtable with variables added to samples.
If names of variables are not provided, all variables from the respective layer table will be inserted in slot 'samples'.
# NOT RUN { ## No example available for this function. # }
Run the code above in your browser using DataLab