my.spct <- sun_evening.spct
# inspecting
id_factor(sun.spct) # no idfactor set
id_factor(my.spct)
colnames(my.spct)
# renaming
id_factor(my.spct) <- "time"
getIdFactor(my.spct)
colnames(my.spct)
# removing
setIdFactor(my.spct, NULL)
getIdFactor(my.spct)
colnames(my.spct)
Run the code above in your browser using DataLab