merge.powdRlib {powdR} | R Documentation |
Merge two powdRlib objects
Description
merge.powdRlib
allows two powdRlib
objects (which must have) the
same 2theta scale) to be merged into a single powdRlib object.
Usage
## S3 method for class 'powdRlib'
merge(x, y, ...)
Arguments
x |
a |
y |
a |
... |
other arguments |
Value
a powdRlib
object.
Examples
#Load the minerals library
data(minerals)
#Load the rockjock library
data(rockjock)
#interpolate minerals library onto same 2theta as rockjock
minerals_i <- interpolate(minerals, new_tth = rockjock$tth)
#merge the libraries
merged_lib <- merge(rockjock, minerals_i)
[Package powdR version 1.3.0 Index]