Dimensions of a hyperSpec map
spcmap_dim(x)
Arguments
x |
hyperSpec object with variables "x" and "y" present in @data . |
Value
a named vector with the number of x and y positions as well as the number of descrete wavelengths ("nwl").
Examples
#> Loading required package: lattice
#> Loading required package: grid
#> Loading required package: ggplot2
#> Loading required package: xml2
#> Package hyperSpec, version 0.99-20200527
#>
#> To get started, try
#> vignette ("hyperspec")
#> package?hyperSpec
#> vignette (package = "hyperSpec")
#>
#> If you use this package please cite it appropriately.
#> citation("hyperSpec")
#> will give you the correct reference.
#>
#> The project homepage is http://hyperspec.r-forge.r-project.org
#>
spcmap_dim(chondro)
#> x y nwl
#> 35 25 300