Learn R Programming

vortexR (version 1.1.7)

CompileIter: Compile iterations from one .yr file

Description

Compile iterations from one .yr file and add a column with scenario names and one with iteration number

Usage

CompileIter(iter, filename, n_rows, iter_ln, lines, header)

Arguments

iter

The iteration (run) number

filename

The fully qualified filename to read from

n_rows

The number of rows to read from the file

iter_ln

The number of rows to skip from the file

lines

An object returned from readLines()

header

A character vector of column names

Value

A data.frame