Description Usage Arguments Details Value Author(s) See Also Examples
Reads an XML file produced by the XX brand spectrophotometer at the Portobello Marine Laboratory
1 | read_spectro(file, read_tag = "Readings", meas_tag = "Measurement")
|
file |
A string representing the (XML) file to read |
read_tag |
A string representing the tag for the "Readings" node in the XML file |
meas_tag |
A string representing the tag for the "Measurement" node in the XML file. |
This function reads an XML file produced by the XX brand spectrophotometer at the Portobello Marine Laboratory. Most often applied when calculating pigment concentrations.
A dataframe with columns
Daniel Pritchard
1 2 3 4 5 6 | ## An example of these functions in use:
# Using the sample file that Hang provided
fpath <- system.file("extdata", "test_spectro.xml", package="seaweedR")
dat <- read_spectro(file = fpath)
head(dat)
str(dat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.