# NOT RUN {
# Loading example data
data(australia)
spectra(australia) <- sr_no ~ ... ~ 350:2500
# Subset on attributes
s <- subset(australia, carbon < 5)
# Subset and selection of attributes
s <- subset(australia, carbon < 5, select = 1)
# }
Run the code above in your browser using DataLab