Learn R Programming

ClimInd (version 0.1-2)

ssp: Sunshine duration percentage

Description

Sunshine duration fraction with respect to day length (

Usage

ssp(data, data_names = NULL, time.scale = YEAR, na.rm = FALSE)

Arguments

data

sunshine duration

data_names

names of each period of time

time.scale

month, season or year

na.rm

logical. Should missing values (including NaN) be removed?

Value

ssp

Formula

$$SSP = \frac{SS} {SSmax} * 100$$ SS: sum of sunshine duration (h); SSmax: maximun daylight (h)

References

European Climate Assessment & Dataset. Indices dictionary. https://www.ecad.eu//indicesextremes/indicesdictionary.php

Examples

Run this code
# NOT RUN {
data(data_all)
ssp(data = data_all$insolation)
# }

Run the code above in your browser using DataLab