Skip to contents

Transpose a 'VirtualArray'-class object

Usage

# S4 method for VirtualArray
t(x)

Arguments

x

A VirtualArray-class object.

Value

A VirtualArray-class object.

Examples

data(exemplar)
t(exemplar)
#> class         : XArray 
#> Element properties: 
#> - class       :  data.frame 
#> Array properties: 
#> - dimensions  : 4, 3  (nrow, ncol)
#> - num. layers : 12
#> - missing     : 0
#> - proxy:
#>      n
#> seed 10         20         30        
#>    1 "sample1"  "sample2"  "sample3" 
#>    2 "sample4"  "sample5"  "sample6" 
#>    3 "sample7"  "sample8"  "sample9" 
#>    4 "sample10" "sample11" "sample12"
#> 
data(paleocoastlines)
t(paleocoastlines)
#> class         : SfcArray 
#> Element properties: 
#> - class       :  sfc_MULTIPOLYGON sfc 
#> - geodetic CRS:  WGS 84 
#> Array properties: 
#> - dimensions  : 2, 3  (nrow, ncol)
#> - num. layers : 6
#> - missing     : 0
#> - proxy:
#>         0           10           20          
#> margin "0Ma_CM_v7" "10Ma_CM_v7" "20Ma_CM_v7"
#> coast  "0Ma_CS_v7" "10Ma_CS_v7" "20Ma_CS_v7"
#>