checkSpctVersion: Check that the "spct.version" attribute is set

Description Usage Arguments Value Note

View source: R/spct.classes.r

Description

Function to check the "spct.version" attribute of an existing generic_spct object.

Usage

1

Arguments

x

a generic_spct object

Value

numeric value

Note

if x is not a generic_spct object, NA is returned, and if it the attribute is missing, zero is returned with a warning.


photobiology documentation built on Aug. 27, 2017, 5:05 p.m.