# NOT RUN {
#Define a new 2theta scale:
data(rockjock_mixtures)
tth <- seq(10, 60, 0.04)
#interpolate multiXY object of data onto new scale
i1 <- interpolate(rockjock_mixtures, new_tth = tth)
#interpolate XY object onto new scale
i2 <- interpolate(rockjock_mixtures$Mix1, new_tth = tth)
#interpolate powdRlib object onto new scale
i3 <- interpolate(minerals, new_tth = tth)
# }
Run the code above in your browser using DataLab