readPrjNumVals: Reads numeric values from a CRHM project text object

View source: R/readPrjNumVals.R

readPrjNumValsR Documentation

Reads numeric values from a CRHM project text object

Description

Reads specified number of numeric values from a project file variable. This is an internal function and is not able to be called by a function outside of CRHMr, as it is not exported. This documentation is for maintenance purposes.

Usage

readPrjNumVals(prj, searchString, value_count)

Arguments

prj

Required. A CRHM file read into memory as a sequence of lines, as returned from readPrj.

searchString

Required. The identifying string.

value_count

Required. The number of values to be read in.

Value

If successful, returns a vector with the specified number of values. If unsuccessful, returns the value FALSE.

Examples

## Not run: 
hru_area <- readPrjNumVals(Bologna, 'hru_area', 19)
## End(Not run)


CentreForHydrology/CRHMr documentation built on April 6, 2024, 5:27 p.m.