Learn R Programming

geoSpectral (version 0.17.5)

dim,Spectra-method: Dimensions of a Spectra object.

Description

Gives number of dimension of a Spectra object

Usage

# S4 method for Spectra
dim(x)

Arguments

x

A Spectra object

Value

Returns a numeric vector containing nrow and ncol of the Spectra object.

Examples

Run this code
# NOT RUN {
sp<-spc.example_spectra()
dim(sp)

# }

Run the code above in your browser using DataLab