View source: R/SILOWriteforSource.R
WritepwtoIS | R Documentation |
Write an input set line for a piecewise lookup table from a csv file
WritepwtoIS(folder, csvfiles, outputfile)
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 |
Nothing to the R environment. Input set lines are written to "outputfile".
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.