WritepwtoIS {SWTools} | R Documentation |
Write an input set line for a piecewise lookup table from a csv file
Description
Write an input set line for a piecewise lookup table from a csv file
Usage
WritepwtoIS(folder, csvfiles, outputfile)
Arguments
folder |
Folder for where are the csv files with the lookup tables |
csvfiles |
vector of files to turn into an input set line. File name should be the name of the pw table in Source, including the folder name if necessary, separated by "." (see example). The first row in the file should be column names, the same as used in Source, i.e. XValue and YValue |
outputfile |
text file to save the lines to |
Value
Nothing to the R environment. Input set lines are written to "outputfile".
Examples
## Not run:
folder<-"C:/Source/tables"
csvfiles<-c("LowerLakesOps.pw_LakeTarget.csv","Operations.pw_NA_Lock5_16p8.csv")
outputfile<-"inputset.txt"
WritepwtoIS(folder,csvfiles,outputfile)
## End(Not run)
[Package SWTools version 1.0.3 Index]