View source: R/ifcb_get_runtime.R
ifcb_get_runtime | R Documentation |
This function imports an IFCB header file (either from a local path or URL),
extracts specific target values such as runtime and inhibittime,
and returns them in a structured format (in seconds). This is
the R equivalent function of IFCBxxx_readhdr
from the ifcb-analysis
repository (Sosik and Olson 2007).
ifcb_get_runtime(hdr_file)
hdr_file |
A character string specifying the full path to the .hdr file or URL. |
A list (hdr) containing runtime, inhibittime, and runType (if available) extracted from the header file.
Sosik, H. M. and Olson, R. J. (2007), Automated taxonomic classification of phytoplankton sampled with imaging-in-flow cytometry. Limnol. Oceanogr: Methods 5, 204–216.
https://github.com/hsosik/ifcb-analysis
## Not run:
# Example: Read and extract information from an IFCB header file
hdr_info <- ifcb_get_runtime("path/to/IFCB_hdr_file.hdr")
print(hdr_info)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.