Nothing
setMethod("ncol", signature(x = ".Spectra"),
function(x)
if (x@fromRaster)
{
return(x@spectra_ra@data@nlayers)
} else {
return(ncol(x@spectra_ma))
}
)
setMethod("nrow", signature(x = ".Spectra"),
function(x)
if (x@fromRaster)
{
return(x@spectra_ra@nrows * x@spectra_ra@ncols)
} else {
return(nrow(x@spectra_ma))
}
)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.