rmDerivedMspct: Remove "generic_mspct" and derived class attributes.

Description Usage Arguments Value Note See Also

View source: R/zmspct.classes.R

Description

Removes from an spectrum object the class attibutes "generic_mspct" and any derived class attribute such as "source_mspct". This operation is done by reference!

Usage

1

Arguments

x

an R object.

Value

A character vector containing the removed class attribute values. This is different to the behaviour of function unlist in base R!

Note

If x is an object of any of the multi spectral classes defined in this package, this function changes by reference the multi spectrum object into the underlying lis object. Otherwise, it just leaves x unchanged. The modified x is also returned invisibly.

See Also

Other set and unset 'multi spectral' class functions: shared_member_class


photobiology documentation built on May 19, 2017, 9:54 p.m.

Search within the photobiology package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.