Skip to contents

Function to set by reference the "how.measured" attribute of an existing generic_spct or derived-class object.

Usage

setHowMeasured(x, how.measured)

how_measured(x) <- value

Arguments

x

a generic_spct object

how.measured, value

a list

Value

x

Note

This function alters x itself by reference and in addition returns x invisibly. If x is not a generic_spct object, x is not modified.

Examples


my.spct <- sun.spct
how_measured(my.spct)
#> [1] NA
how_measured(my.spct) <- "simulated with a radiation transfer model"
how_measured(my.spct)
#> [1] "simulated with a radiation transfer model"