# NOT RUN {
#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)
# }
Run the code above in your browser using DataLab