setKType | R Documentation |
Function to set by reference the "K.type" attribute of an existing solute_spct object
setKType(x, K.type = c("attenuation", "absorption", "scattering"))
x |
a solute_spct or a summary_solute_spct object. |
K.type |
character A string, either "attenuation", "absorption" or "scattering". |
x
This function alters x itself by reference and in addition
returns x invisibly. If x is not a solute_spct object, x is not modified
The behaviour of this function is 'unusual' in that the default for
parameter K.type
is used only if x
does not already have
this attribute set.
Other K attribute functions:
getKType()
print("missing example")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.