read.mym2r.nice: read.mym2r.nice: Transform a MyM files into a readable...

Description Usage Arguments Value

View source: R/mym2r.R

Description

read.mym2r.nice: Transform a MyM files into a readable datafile in R

Usage

1
2
3
read.mym2r.nice(mym.folder = "", scen.econ = "", filename = NULL,
  varname = NULL, collist = NULL, namecols = NULL,
  yearheader = "year", yearsrun = 1971:2100, novarname = FALSE)

Arguments

mym.folder

"input/water model/mym output/" # note: the exact file path would be: "input/water model/mym output/SSP2/ElecWWD_3_Int.out"

varname

Provide the varname in the TIMER model here

yearheader

The title of your "time" vector

yearsrun

Provide indication here of your time sequence (defaults to 1971:2100)

novarname

FALSE if there is a name for your variable

Value

produces a MyM data file with your own defined file extension


marieyesse/mym2r documentation built on Aug. 9, 2019, 7:34 p.m.