Learn R Programming

skylight (version 1.4)

skylight_rcpp: fast C++ implementation of the skylight model

Description

Calculates sky illuminance values faster. This function should not be called independently and the formal R skylight() function should be used with the parameter fast = TRUE!

Usage

skylight_rcpp(forcing)

Value

sky illuminance results as a matrix

Arguments

forcing

input matrix with forcing parameters organized as longitude, latitude, year, month, day, hour, minutes, sky_conditions