Nothing
#' Wind speed at 2 meters high
#' @description Wind speed at two meters high can be calculated with this function.
#' @param uz measured wind speed at z meters above ground surface
#' @param z height of measurement above ground surface.
#' @examples
#' \dontrun{
#' u2_df <- u2_calculation(uz, z)
#' }
#' @export
#' @return A data.frame with the wind speed at 2 meters high calculated.
#' @author Roberto Filgueiras, Luan P. Venancio, Catariny C. Aleman and Fernando F. da Cunha
u2_calculation <- function(uz, z) {
u2 <- uz * (4.87 / (log(67.8 * z - 5.42)))
u2 <- as.data.frame(u2)
colnames(u2) <- "u2"
return(u2)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.