Description Usage Arguments Details Value Author(s) References
View source: R/CompositionalSpline.R
This code implements the compositional smoothing splines grounded on the theory of Bayes spaces.
1 2 3 4 5 6 7 8 9 10 11 
t 
class midpoints 
clrf 
clr transformed values at class midpoints, i.e., fcenLR(f(t)) 
knots 
sequence of knots 
w 
weights 
order 
order of the spline (i.e., degree + 1) 
der 
lth derivation 
alpha 
smoothing parameter 
spline.plot 
if TRUE, the resulting spline is plotted 
basis.plot 
if TRUE, the ZBspline basis system is plotted 
The compositional splines enable to construct a spline basis in the centred logratio (clr) space of density functions (ZBspline basis) and consequently also in the original space of densities (CBspline basis).The resulting compositional splines in the clr space as well as the ZBspline basis satisfy the zero integral constraint. This enables to work with compositional splines consistently in the framework of the Bayes space methodology.
Augmented knot sequence is obtained from the original knots by adding #(order1) multiple endpoints.

value of the functional J 

ZBspline basis coeffcients 

score of crossvalidation 

score of generalized crossvalidation 
J. Machalova jitka.machalova@upol.cz, R. Talska talskarenata@seznam.cz
Machalova, J., Talska, R., Hron, K. Gaba, A. Compositional splines for representation of density functions. Comput Stat (2020). https://doi.org/10.1007/s00180020010427
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.