This function returns an object that symbolizes the structure of layers in the 'XArray
', 'RasterArray
' or 'SfArray
'.
Arguments
- x
XArray
,RasterArray
orSfArray
object.- ...
additional arguments passed to class-specific methods.
Value
A vector
, matrix
or array
of characters representing the VirtualArray
structure.
Details
The proxy
method wraps the names of layers in the @stack
using the @index
slot of the 'VirtualArray
'.
Examples
data(exemplar)
proxy(exemplar)
#> seed
#> n 1 2 3 4
#> 10 "sample1" "sample4" "sample7" "sample10"
#> 20 "sample2" "sample5" "sample8" "sample11"
#> 30 "sample3" "sample6" "sample9" "sample12"
data(paleocoastlines)
proxy(paleocoastlines)
#> margin coast
#> 0 "0Ma_CM_v7" "0Ma_CS_v7"
#> 10 "10Ma_CM_v7" "10Ma_CS_v7"
#> 20 "20Ma_CM_v7" "20Ma_CS_v7"