Learn R Programming

solaR2 (version 0.11)

C_fBTi: Intra-daily time base

Description

Construction of an intra-daily time base for solar irradiation calculation

Usage

fBTi(BTd, sample = 'hour')

Value

This function returns a POSIXct object.

Arguments

BTd

vector, it may be a result for fBTd or indexD

sample

character, identify the sample of the time set. Its default value is 'hour'.

Author

Oscar Perpiñán Lamigueiro, Francisco Delgado López.

Details

This function is commonly used inside fSolI.

Examples

Run this code
library("data.table")
setDTthreads(2)

#Average days
BTd <- fBTd(mode = 'prom')

#Intradaily base time for the first day
BTi <- fBTi(BTd = BTd[1], sample = 'hour')
BTi

Run the code above in your browser using DataLab