R: Get the "mspct.version" attribute

getMspctVersion {photobiology} | R Documentation

## Get the "mspct.version" attribute

### Description

Function to read the "mspct.version" attribute of an existing generic_mspct object.

### Usage

    getMspctVersion(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.

[Package photobiology version 0.9.21 Index]