Skip to contents

Separation of columns of 'columnWidth' characters width each

Usage

extractRunoffData(runoff_raw, columnWidth = 8, columnNames = NULL, version = 1)

Arguments

runoff_raw

vector of character representing the text lines containing data in columns of fixed width

columnWidth

number of characters in each column

columnNames

column names to be given to the result data frame

version

1: loop, 2: sapply

Value

The function returns a data frame with column names as given in

columnNames.