Hi,
The function PeriodMean.R (and CST_PeriodMean.R) has been added and the examples (for the two functions with and without the prefix) in the description have been checked. Please merge this branch to the master if there is nothing incorrect/missed.
Many thanks, Chung