# NOT RUN {
e_irrad(sun.spct, waveband(c(400,700)))
e_irrad(sun.spct, split_bands(c(400,700), length.out = 3))
e_irrad(sun.spct, split_bands(c(400,700), length.out = 3),
quantity = "total")
e_irrad(sun.spct, split_bands(c(400,700), length.out = 3),
quantity = "average")
e_irrad(sun.spct, split_bands(c(400,700), length.out = 3),
quantity = "relative")
e_irrad(sun.spct, split_bands(c(400,700), length.out = 3),
quantity = "relative.pc")
e_irrad(sun.spct, split_bands(c(400,700), length.out = 3),
quantity = "contribution")
e_irrad(sun.spct, split_bands(c(400,700), length.out = 3),
quantity = "contribution.pc")
# }
Run the code above in your browser using DataLab