Description Usage Arguments Details Value See Also Examples
Read DRIFTS spectrum from Spectrotest text file or connection produced by FT-CONTROL software for FTIR-spectrometers.
1 | read.drift(con)
|
con |
a |
Argument con has the same meaning as in readLines.
An object of S3-class drift.
Other drift:
as.data.frame.drift(),
cbind.drift(),
channel(),
coal_drift(),
diff.drift(),
median.drift(),
plot.drift(),
slice(),
write.drift()
1 2 3 4 5 6 7 8 9 10 11 12 | s0 <- coal_drift()
# Write to text file:
write.drift(s0, "s0.ir")
# Read from text file:
s1 <- read.drift("s0.ir")
unlink("s0.ir")
# Light unit test:
stopifnot(all(s0 == s1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.