View source: R/xrd.importData.R
xrd.import | R Documentation |
Import function recognizes ASC, TXT, RAS, and RASX files from Rigaku XRD instrument; returns dataframe with 2theta, I (intensity normalized for time), and I.meas (measured intentsity)
xrd.import(filename)
filename |
full file name with path |
data frame with XRD data
Thomas Gredig
fname = xrd.getSampleFiles()[1]
d = xrd.import(fname)
plot(d$theta,d$I,log='y',col='red')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.