Learn R Programming

photobiology (version 0.10.6)

drop_user_cols: Drop user columns

Description

Remove from spectral object additional columns that are user defined.

Usage

drop_user_cols(x, keep.also, ...)

# S3 method for default drop_user_cols(x, keep.also = NULL, ...)

# S3 method for generic_spct drop_user_cols(x, keep.also, ...)

# S3 method for source_spct drop_user_cols(x, keep.also = NULL, ...)

# S3 method for response_spct drop_user_cols(x, keep.also = NULL, ...)

# S3 method for object_spct drop_user_cols(x, keep.also = NULL, ...)

# S3 method for filter_spct drop_user_cols(x, keep.also = NULL, ...)

# S3 method for reflector_spct drop_user_cols(x, keep.also = NULL, ...)

# S3 method for chroma_spct drop_user_cols(x, keep.also = NULL, ...)

# S3 method for calibration_spct drop_user_cols(x, keep.also = NULL, ...)

# S3 method for cps_spct drop_user_cols(x, keep.also = NULL, ...)

# S3 method for raw_spct drop_user_cols(x, keep.also = NULL, ...)

# S3 method for generic_mspct drop_user_cols(x, keep.also = NULL, ...)

Arguments

x

An R object

keep.also

character Additionlal columns to preserve.

...

needed to allow derivation.

Value

A copy of x possibly with some columns removed.

Methods (by class)

  • default:

  • generic_spct:

  • source_spct:

  • response_spct:

  • object_spct:

  • filter_spct:

  • reflector_spct:

  • chroma_spct:

  • calibration_spct:

  • cps_spct:

  • raw_spct:

  • generic_mspct:

See Also

Other experimental utility functions: collect2mspct(), thin_wl(), uncollect2spct()