smooth | R Documentation |
This function performs a smoothing of a QTS by SLERP interpolation.
smooth(x, ...)
## Default S3 method:
smooth(
x,
kind = c("3RS3R", "3RSS", "3RSR", "3R", "3", "S"),
twiceit = FALSE,
endrule = c("Tukey", "copy"),
do.ends = FALSE,
...
)
## S3 method for class 'qts'
smooth(x, alpha = 0.5, ...)
## S3 method for class 'qts_sample'
smooth(x, alpha = 0.5, ...)
x |
An object of class qts or qts_sample. |
... |
Extra arguments passed on to next methods. |
kind |
a character string indicating the kind of smoother required;
defaults to |
twiceit |
logical, indicating if the result should be ‘twiced’.
Twicing a smoother |
endrule |
a character string indicating the rule for smoothing at the
boundary. Either |
do.ends |
logical, indicating if the 3-splitting of ties should
also happen at the boundaries (ends). This is only used for
|
alpha |
A numeric value in |
An object of the same class as the input argument x
which is a
smooth version of the input QTS.
smooth(vespa64$igp[[1]])
smooth(vespa64$igp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.