Description Usage Arguments Value Examples
View source: R/ICS_smoothing.R
cics_explicit
constructs the explicit form of nonuniform clamped interpolating cubic spline
(via Hermite cubic spline) for nodes uu
, function values yy
and exteriornode derivatives
d
.
1 2 3 4 5 6 7 8 9 
uu 
a vector of arbitrary nodes (ordered ascendingly), with magnitude 
yy 
a vector of function values pertaining to nodes in 
d 
a vector of two values of derivative, in the first and the last node of 
clrs 
a vector of colours that are used alternately to plot the graph of spline's components. 
xlab 
a title (optional parameter) for the 
ylab 
a title (optional parameter) for the 
title 
a title (optional parameter) for the plot. 
a list with components
spline_coeffs 
matrix, whose 
spline_polynomials 
list of NcICS's components string representations. 
B 
S=B.γ. 
gamma 
γ= vector of spline coefficients  function values and exteriornode derivatives that takes part in the explicit form S=B.γ. 
aux_BF 
A basis function of the spline 
aux_tridiag_inverse 
An inverse of the tridiagonal matrix used for spline derivatives construction 
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16  cics_explicit(
uu = c(1, 2.2, 3, 3.8, 7),
CERN$y[1:5],
d=c(0,2),
xlab="X axis",
ylab="Y axis"
)
uu < c(0, 1, 4, 6);
yy < c(4, 5, 2, 1.8);
sp < cics_explicit(uu, yy, c(1,0))
sp$spline_polynomials
### <~~>
### Spline components' coefficients
explicit_spline(sp$B, sp$gamma)
sp$spline_coeffs == .Last.value

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.