R/data.R

Defines functions climate.data.frame as.climate.data.frame

climate.data.frame <- function(date, station, tx, tn, prcp, ...) {
    as.climate.data.frame(data.frame(date, station, tx, tn, prcp, ...))
}

as.climate.data.frame <- function(x, variables_names = c(date = "date", station = "station", tx = "tx", tn = "tn", prcp = "prcp")) {
    for (climvar in names(variables_names)) {
        print(climvar)
    }
}
schmidtfederico/glmwgen documentation built on May 29, 2019, 3:41 p.m.