Learn R Programming

photobiology (version 0.11.3)

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 solute_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, ...)

Value

A copy of x possibly with some columns removed.

Arguments

x

An R object

keep.also

character Additionlal columns to preserve.

...

needed to allow derivation.

Methods (by class)

  • drop_user_cols(default):

  • drop_user_cols(generic_spct):

  • drop_user_cols(source_spct):

  • drop_user_cols(response_spct):

  • drop_user_cols(object_spct):

  • drop_user_cols(filter_spct):

  • drop_user_cols(reflector_spct):

  • drop_user_cols(solute_spct):

  • drop_user_cols(chroma_spct):

  • drop_user_cols(calibration_spct):

  • drop_user_cols(cps_spct):

  • drop_user_cols(raw_spct):

  • drop_user_cols(generic_mspct):

See Also

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