bandname | R Documentation |
bandname
(names
) returns names of bands for object of class ursaRaster
or existing ENVI labelled *.hdr file.
bandname<-
(names<-
) sets names of bands for object of class ursaRaster
.
bandname(x)
bandname(x) <- value
## S3 method for class 'ursaRaster'
names(x)
## S3 replacement method for class 'ursaRaster'
names(x) <- value
x |
Object of class |
value |
Character of length the same length of number of bands of |
names
is a synonym for bandname
. names<-
is a synonym for bandname<-
For bandname
and names
, character vector.
For bandname<-
and names<-
, updated object of class ursaRaster
.
Nikita Platonov platonov@sevin.ru
nband
session_grid(NULL)
a1 <- pixelsize()
a2 <- c("Band 1"=a1,Band2=a1/2,sqrt=sqrt(a1),NA)
print(a2)
print(bandname(a2))
bandname(a2)[1:2] <- c("Original","Half")
print(a2)
print(bandname(a2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.