nrow-Spectra-method: The Number of rows of a 'Spectra' object

Description Usage Arguments Examples

Description

nrow and ncol return the number of rows or columns present in a Spectra object

Usage

1
2
## S4 method for signature 'Spectra'
nrow(x)

Arguments

x

a Spectra object

Examples

1
2
3
x <- spc.example_spectra() 
ncol(x)  #501 
nrow(x)  #26

PranaGeo/geoSpectral documentation built on Feb. 21, 2020, 10:22 a.m.