Description Usage Arguments Value Note Author(s) See Also Examples
Write the R data.frame
produced by either akq_counts
, akq_lmom
, akq_summary
, and akq_table
to the file system via a wrapper on the built-in R write.table()
function. The output has quotation marks stripped and no row names [row.names()
].
1 2 |
df |
An R |
file |
The file name, and if |
sep |
The separator for the output file; |
digits |
The number of digits to round for the numerical columns of the |
silent |
Suppress informative calls to |
header |
An optional header to be written above the output via the built-in R |
... |
Additional arguments to pass to control the |
This function has no returned value and is intended for its side effects.
The built-in R write.table()
function is used. This function is called by hardwired options append=
TRUE
, quote=
FALSE
, and row.names=
FALSE
, but the ...
argument is passed to function write.table()
, thus a user can access all of the other options of that function. For example, suppose a user does not desire the column names, then col.names=
FALSE
could be included in the ...
arguments.
W.H. Asquith
1 2 3 4 5 6 7 8 9 | ## Not run:
sites <- c("05403500", "05405000") # Two streamgages in Wisconsin
WisExample <- new.env(); fill_dvenv( sites, envir=WisExample,
sdate="1945-01-01", edate="2014-12-31")
WisAKQ <- new.env(); fill_akqenv(dvenv=WisExample, envir=WisAKQ)
WisLM <- akq_lmom(WisAKQ)
akq_write(WisLM, file="BarabooRiverLM.txt",
header="# L-moments of the 1-day declines") #
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.