checkMspctVersion: Check that the "mspct.version" attribute is set

View source: R/mspct.methods.R

checkMspctVersionR Documentation

Check that the "mspct.version" attribute is set

Description

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

Usage

checkMspctVersion(x)

Arguments

x

a generic_mspct object

Value

numeric value

Note

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


aphalo/photobiology documentation built on April 1, 2024, 6:48 p.m.