Reads the TXT Rigaku XRD file with no header

xrd.read.TXTnoheader(filename)

Arguments

filename

filename including path

Value

data frame with XRD data and columns TwoTheta and I

Examples


fname = xrd.getSampleFiles('txt')[1]
d = xrd.read.TXTnoheader(fname)
plot(d$TwoTheta,d$I,log='y',col='red')