photobiology (version 0.9.30)

setAfrType: Set the "Afr.type" attribute

Description

Function to set by reference the "Afr.type" attribute of an existing filter_spct or object_spct object

Usage

setAfrType(x, Afr.type = c("total", "internal"))

Arguments

x

a filter_spct or an object_spct object

Afr.type

a character string, either "total" or "internal"

Value

x

See Also

Other Afr attribute functions: getAfrType()

Examples

Run this code
# NOT RUN {
my.spct <- polyester.spct
getAfrType(my.spct)
setAfrType(my.spct, "internal")
getAfrType(my.spct)

# }

Run the code above in your browser using DataLab