ncol,hyperSpec-method: The Number of Rows (Spectra), Columns, and Data Points per Spectrum of an
hyperSpec Object)
Description
ncol returns the number of columns in x@data. I.e. the number
of columns with additional information to each spectrum (e.g. "x", "y",
...) + 1 (for column spc containing the spectra).