Description Usage Arguments Value
View source: R/resampleUVdata.R
Unit-value data can be recorded at any arbitrary intervals. For some
applications, such as load estimates, a uniform series is required. The
resampleUVdata
function resamples the orginal unit-value data to a consistent
time interval.
1 2 | resampleUVdata(UVdata, time.step = 15, start.date = "", end.date = "",
max.diff = "2 hours", missing.days = "exclude")
|
UVdata |
the dataset containing the unit-values data. Must have one column that represents the time of the observation that is class "POSIXt." Missing values are not permitted in that column. |
time.step |
the time step of the new data in minutes; must divide an hour exactly evenly. The default value is 15 minutes. |
start.date |
a character string indicating the first day of the output dataset. The
default value ("") indicates use the first day in |
end.date |
a character string indicating the last day of the output dataset. The
default value ("") indicates use the last day in |
max.diff |
a character string indicating the maximum difference in time to
sucessfully resample the unit-value data. The default is "2 hours" see
|
missing.days |
a characer string indicating what action should be taken for days
not present in |
A data frame like UVdata
but having a uniform time step.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.