Multcent(dat,bi=c(1,2),by=3,
centre=mean,
centrebyBA=c(TRUE,FALSE),scalebyBA=c(TRUE,FALSE))
IterMV(n=10,dat,Mm=c(1,3),Vm=c(2,3),
fFUN=mean,usetren=FALSE,
tren=function(x)smooth.spline(as.vector(x),df=5)$y,
rsd=TRUE)
Detren(dat,Mm=c(1,3),rsd=TRUE,
tren=function(x)smooth.spline(as.vector(x),df=5)$y )
Susan1D(y,x=NULL,sigmak=NULL,sigmat=NULL,
ker=list(function(u)return(exp(-0.5*u**2))))
by
FUN
in applying
"multi-centering"centre
Before and After
according to by
Detren
or fFUN
onFUN
if usetren
is
FALSE
Detren
Detren
Detren
(only) to detrend or notn
)NULL
it is 1:n
y
values (default is 1/2*range
x
values (default value is 8*n^{-1/5}
, with a minimum number of
neigbours set as one apart)list("t"=function "k"=function
)
for each weightings (if only one given it is used for
both)Multcent
performs in order "centering" by by
;
"multicentering" for every bi
with by
; then scale
(standard deviation) to one by by
. IterMV
performs an iterative "detrending" and scaling
according to te margins defined (see Leibovici(2000) and references
in it).
Detren
detrends (or smooths if rsd
is FALSE
)
the data accoding to th margins given.
Susan1D
performs a non-linear kernel smoothing of y
against x
(both reordered in the function according to orders
of x
) with an usual kernel (t
) as for kernel
regression and a kernel (t
) for the values of y
(the
product of the kernels constitutes the non-linear weightings. This
function is adapted from SUSAN algorithm (see references).