Learn R Programming

CortSineScore (version 0.1.0)

Compute Cortisol Sine Score (CSS) for Diurnal Cortisol Analysis

Description

Computes a single scalar metric for diurnal cortisol cycle analysis, the Cortisol Sine Score (CSS). The score is calculated as the sum over time points of concentration multiplied by sin(2 * pi * time / 24), giving positive weights to morning time points and negative weights to evening ones. The method is model-free, robust, and suitable for regression, classification, clustering, and biomarker research.

Copy Link

Version

Install

install.packages('CortSineScore')

Monthly Downloads

121

Version

0.1.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Simone Anzà

Last Published

October 20th, 2025

Functions in CortSineScore (0.1.0)

compute_css

Compute Cortisol Sine Score (CSS)