exportADMS | R Documentation |
Writes a text file in the ADMS format to a location of the user's choosing, with optional interpolation of missing values.
exportADMS(dat, out = "./ADMS_met.MET", interp = FALSE, maxgap = 2)
dat |
A data frame imported by |
out |
A file name for the ADMS file. The file is written to the working directory by default. |
interp |
Should interpolation of missing values be undertaken? If |
maxgap |
The maximum gap in hours that should be interpolated where
there are missing data when |
exportADMS()
returns the input dat
invisibly.
## Not run:
## import some data then export it
dat <- importNOAA(year = 2012)
exportADMS(dat, out = "~/adms_met.MET")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.