drop_user_cols {photobiology} | R Documentation |
Drop user columns
Description
Remove from spectral object additional columns that are user defined.
Usage
drop_user_cols(x, keep.also, ...)
## Default S3 method:
drop_user_cols(x, keep.also = NULL, ...)
## S3 method for class 'generic_spct'
drop_user_cols(x, keep.also, ...)
## S3 method for class 'source_spct'
drop_user_cols(x, keep.also = NULL, ...)
## S3 method for class 'response_spct'
drop_user_cols(x, keep.also = NULL, ...)
## S3 method for class 'object_spct'
drop_user_cols(x, keep.also = NULL, ...)
## S3 method for class 'filter_spct'
drop_user_cols(x, keep.also = NULL, ...)
## S3 method for class 'reflector_spct'
drop_user_cols(x, keep.also = NULL, ...)
## S3 method for class 'solute_spct'
drop_user_cols(x, keep.also = NULL, ...)
## S3 method for class 'chroma_spct'
drop_user_cols(x, keep.also = NULL, ...)
## S3 method for class 'calibration_spct'
drop_user_cols(x, keep.also = NULL, ...)
## S3 method for class 'cps_spct'
drop_user_cols(x, keep.also = NULL, ...)
## S3 method for class 'raw_spct'
drop_user_cols(x, keep.also = NULL, ...)
## S3 method for class '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)
-
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()
[Package photobiology version 0.11.2 Index]