Learn R Programming

scar (version 0.2-0)

scar-internal: Internal shape-constrained additive regression functions

Description

Internal functions for the package scar

Arguments

Details

These internal functions are not to be called by the user.

For a given real sequence $a_1,..., a_n$, the function aggsum returns the partial sums $a_1, a_1+a_2, a_1+a_2+a_3,..., \sum_{i=1}^n a_i$.