Description Usage Arguments Details Value Author(s) Examples
Shape a dataframe in a class 'windata' object
1 2 3 4 5 6 7 | setWindData(data, name = NA, date.var, date.format = c("YYYYMMDD",
"YYYY-MM-DD", "YYYY.MM.DD", "DD/MM/YYYY"), time.var, time.format = c("HHMM",
"HHMMSS", "HH:MM", "HH:MM:SS", "HH.MM", "HH.MM.SS"), ane.names, ane.height,
speed.ave.var, speed.min.var = NA, speed.max.var = NA,
speed.sd.var = NA, speed.unit = NA, dir.var, dir.unit = "deg",
temp.var = NA, temp.unit = "C", pres.var = NA, pres.unit = "bar",
NA.values = NA)
|
data |
a dataframe to be converted |
name |
unit wind's atmospheric pressures. At the moment, the unit that can be used is 'deg'. |
date.var |
the name of the variable that contains the dates of measurements |
date.format |
the admit formats are: - 'YYYYMMDD','YYYY-MM-DD','YYYY.MM.DD' or 'DD/MM/YYYY' |
time.var |
the name of the variable that contains the times of measurements |
time.format |
the admit formats are: - 'HHMM','HHMMSS','HH:MM','HH:MM:SS','HH.MM' or 'HH.MM.SS' |
ane.names |
the names to indicate the differents anemometers in the list. |
ane.height |
the heights of the anemometers |
speed.ave.var |
the name/s of the variable/s that contains the average speeds measures. |
speed.min.var |
the name/s of the variable/s that contains the min speeds measures. |
speed.max.var |
the name/s of the variable/s that contains the max speeds measures. |
speed.sd.var |
the name/s of the variable/s that contains the desvest standar of speeds measures. |
speed.unit |
unit wind speed. At the moment, the unit that can be use is 'm/s'. |
dir.var |
the name/s of the variable/s that contains the wind's direction measures |
dir.unit |
unit wind's directions. At the moment, the unit that can be used is 'deg'. |
temp.var |
the name/s of the variable/s that contains the wind's temperature measures |
temp.unit |
unit wind's temperatures. At the moment, the unit that can be used is 'deg'. |
pres.var |
he name/s of the variable/s that contains the wind's atmospheric pressures measures. |
pres.unit |
unit wind's atmospheric pressures. At the moment, the unit that can be used is 'deg'. |
NA.values |
unit wind's atmospheric pressures. At the moment, the unit that can be used is 'deg'. |
The object windata is a list with the parameters that were mencionated before.
Object of class 'windata' (see details).
Valeria Gogni, Mariano Bonoli, Ruben Bufanio, Diego Edwards
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.