Learn R Programming

photobiology (version 0.10.6)

setTfrType: Set the "Tfr.type" attribute

Description

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

Usage

setTfrType(x, Tfr.type = c("total", "internal"))

Arguments

x

a filter_spct or an object_spct object

Tfr.type

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

Value

x

See Also

Other Tfr attribute functions: getTfrType()

Examples

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

# }

Run the code above in your browser using DataLab