Description Usage Arguments Value See Also Examples
rmt_write_ssm
writes an MT3DMS sink & source mixing package file from a RMT3DMS ssm object.
1 2 3 4 5 6 7 8 9 10 | rmt_write_ssm(
ssm,
file = {
cat("Please select ssm file to overwrite or provide new filename ...\n")
file.choose() },
btn = { cat("Please select corresponding btn file ...\n")
rmt_read_btn(file.choose()) },
iprn = -1,
...
)
|
ssm |
an |
file |
filename to write to; typically '*.ssm' |
btn |
an |
iprn |
format code for printing arrays in the listing file; defaults to -1 (no printing) |
additional |
arguments passed to |
NULL
1 2 3 4 | btn <- rmt_create_btn()
wel <- rmt_create_list(data.frame(i = 5, j = 4:5, k = 3, css1 = 6.45, css2 = 47, itype = 2), kper = 1)
ssm <- rmt_create_ssm(wel, crch = 0, btn = btn)
rmt_write_ssm(ssm, file = file.path(tempdir(), 'input.ssm'), btn = btn)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.