as() - RLum-object coercion
Source:R/RLum.Analysis-class.R, R/RLum.Data.Curve-class.R, R/RLum.Data.Image-class.R, and 2 more
as.Rdfor [RLum.Analysis-class]
for [RLum.Data.Curve-class]
for [RLum.Data.Image-class]
for [RLum.Data.Spectrum-class]
for [RLum.Results-class]
Usage
# S4 method for class 'list,RLum.Analysis'
coerce(from, to = "RLum.Analysis", strict = TRUE)
# S4 method for class 'list,RLum.Data.Curve'
coerce(from, to = "RLum.Data.Curve", strict = TRUE)
# S4 method for class 'data.frame,RLum.Data.Image'
coerce(from, to = "RLum.Data.Image", strict = TRUE)
# S4 method for class 'data.frame,RLum.Data.Spectrum'
coerce(from, to = "RLum.Data.Spectrum", strict = TRUE)
# S4 method for class 'list,RLum.Results'
coerce(from, to = "RLum.Results", strict = TRUE)Arguments
- from
RLum, list, data.frame, matrix (required): object to be coerced from
- to
character (required): class name to be coerced to
- strict
Unused.
Details
| from | to |
list | list |
Given that the list consists of RLum.Analysis objects.
| from | to |
list | list |
data.frame | data.frame |
matrix | matrix |
| from | to |
data.frame | data.frame |
matrix | matrix |
| from | to |
data.frame | data.frame |
matrix | matrix |
list | list |
| from | to |
list | list |
Given that the list consists of RLum.Results objects.
Note
Due to the complex structure of the RLum objects itself a coercing to standard
R data structures will be always loosely!