R/Conc_NO2.R

#' Conc_NO2 - Extracts data of hourly concentration of NO2
#' @param  x A data frame containing hourly data of NO2 concentration and other variables (Dates (e.g. 01/01/2016  00:00:00), Hum (\%), Pres (kPa), Precip (mm), Rad (W m-2), Temp (C), Wind (m s-1), Daylight (Night or Daylight), BAI, LAI)
#' @return Hourly data of concentration of NO2 (micrograms m-3)
#' @export
#'
#' @examples
#'
#' data(Bizkaia_data)
#' Conc_NO2(x = Bizkaia_data)
Conc_NO2 <- function(x){
  db <- x
  Conc_NO2_hourly <- cbind.data.frame(Dates = db$Dates, Concen_NO2 = db$NO2)
  return(Conc_NO2_hourly)
}

Try the TreeDep package in your browser

Any scripts or data that you put into this service are public.

TreeDep documentation built on May 2, 2019, 6:45 a.m.