CompileIter: Compile iterations from one .yr file

View source: R/helper_fun.R

CompileIterR Documentation

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, dec_sep = ".")

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

dec_sep

Decimal separator (default ".")

Value

A data.frame


carlopacioni/vortexR documentation built on May 6, 2022, 12:07 p.m.