Skip to contents

Reads a data file formatted for a projection model and converts it into a list object. The function handles numeric and NA values appropriately.

Usage

dat2list(fn)

Arguments

fn

Filename of the data file to be read.

Value

A list object containing the data from the file.

Examples

# Example usage:
# myDataList <- dat2list("datafile.dat")