create.geotop.inpts.keyword: Creates an 'geotop.inpts' files the keyword and their values...

Description Usage Arguments Details See Also Examples

View source: R/create.geotop.inpts.keywords.R

Description

Creates an 'geotop.inpts' files the keyword and their values of a date.frame like the one returned by declared.geotop.inpts.keywords

Usage

1
2
create.geotop.inpts.keyword(df, file = "geotop.inpts.copy",
  wpath = NULL, comment.lines = "default", header = "default", ...)

Arguments

df

data frame returend by declared.geotop.inpts.keywords

file

connetion or file name where to write 'df'

wpath

complere path to file (optional). Default is NULL.

comment.lines

string or vector of strings to add as comments for each keyword. If it is NULL the comment lines are omitted.

header

string or vector of strings to add as a header. If it is NULL the header is omitted.

...

further arguments for writeLines

Details

In case comment.lines and header are set equal to "default", they are suitably modified within the function code. See the example output.

See Also

writeLines,declared.geotop.inpts.keywords

Examples

1
2
3
4
5
6
7
8
library(geotopbricks)
## Not run: 
#Simulation working path
wpath <- 'https://www.rendena100.eu/public/geotopbricks/simulations/panola13_run2xC_test3'
df <- declared.geotop.inpts.keywords(wpath=wpath)
create.geotop.inpts.keyword(df=df)

## End(Not run)

geotopbricks documentation built on March 26, 2020, 7:39 p.m.