iso_data_structure: Isoreader data structure functions

Description Usage Arguments

Description

iso_is_file tests if the object is an iso_file

iso_is_file_list tests if the object is an iso_file list (collection of iso_files)

iso_is_object test if the object is an iso-object (iso_file or iso_file list)

iso_is_dual_inlet tests if an iso_file or iso_file list consists exclusively of dual inlet file objects

iso_is_continuous_flow tests if an iso_file or iso_file list consists exclusively of continuous flow file objects

iso_is_scan tests if an iso_file or iso_file list consists exclusively of scan file objects

iso_as_file_list concatenates iso_file and iso_file list object(s) into one combined iso_file list (equivalent to calling c(...)), flattens all passed lists into one list structure, all individual objects and objects within iso_file lists have to be the same type of iso_file, issues warnings if there are duplicate file ids and summarizes all problems in the iso_file list. If duplicates are allowed (discard_duplicates = FALSE), their file IDs will append a #1, #2, #3, etc. to preserve unique file IDs (important for many data aggregation operations).

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13

Arguments

x

an object to test whether it has the specific class

...

iso_file and iso_file_list objects to concatenate

discard_duplicates

whether to automatically discard files with duplicate file IDs (i.e. duplicate file names). If TRUE (the default), only the first files are kept and any files with the same file ID are discarded. If FALSE, all duplicate files are kept but their file IDs are appended with suffix #1, #2, etc.


isoreader documentation built on Nov. 19, 2021, 1:07 a.m.