fBTd(Modo = "DiasProm",
Ano = as.POSIXlt(Sys.Date())$year + 1900,
FechaInicio = paste("01-01-", Ano, sep = ""),
FechaFinal = paste("31-12-", Ano, sep = ""),
FechaBaseDatos, FormatoFecha)
Modo='BaseDatos'
the time series is created according to a solar irradiation database, translating the information about measuring dates contained in FechaBaseDatos
. WModo='DiasProm'
. Its default value is the current year.Modo='Serie'
. Its default value is the first of January of the current year.Modo='Serie'
. Its default value is the last day of December of the current year.Modo='BaseDatos'
FechaBaseDatos
. It shall follow the rules of the strptime
function. For example, '%d-%m-%Y'
data.frame
with components adequately obtained from the functions as.POSIXlt
and strptime
.fSolD
.fSolD
, LeeMAPA
#Average days
(fBTd(Modo='DiasProm'))
Run the code above in your browser using DataLab