Objects of class ESR
, ESR.Spectrum
are R6 objects and hence are
usable in a more typical object-oriented language than R. For the user the main difference
to R's internal S3
and S4
object implementation is that methods for R6
objects belong to the object itself. See details.
# ESR$new(originator, data) # ESR$set_data(data) # ESR$set_origin(originator)
originator |
|
---|---|
data |
|
R6Class generator objects
originator
character
Name of the function call that
created this object
data
data.frame
XY data of the ESR spectrum
new(originator, data)
Initialize a new object of class ESR
set_data(data)
Sets the data of the object
set_origin(originator)
Sets the originator of the object
## create an empty ESR base class object x <- ESR$new()