powered by
Function to set by reference the "Rfr.type" attribute of an existing reflector_spct or object_spct object.
setRfrType(x, Rfr.type = c("total", "specular"))
a reflector_spct or an object_spct object
a character string, either "total" or "specular"
x
Other Rfr attribute functions: getRfrType()
getRfrType()
# NOT RUN { my.spct <- reflector_spct(w.length = 400:409, Rfr = 0.1) getRfrType(my.spct) setRfrType(my.spct, "specular") getRfrType(my.spct) # }
Run the code above in your browser using DataLab