This function chunks imported n38 binary matrices into a list, grouping file header and survey line information for further processing.

n38_chunk(n38_mat = NULL)

Arguments

n38_mat

The binary matrix output by n38_import.

Value

A nested list containing binary matrices encoding a) file header information and b) each survey line in the input file. For each survey line, a list of matrices with survey line data separated by type - header and calibration data, instrument readings, position information, and comments.

Examples

data('n38_demo')
n38_chunks <- n38_chunk(n38_demo)