Description Usage Arguments Examples
The values at -1.0 are consider invalid by defaults and are not used or changed. Set the value of the argument degrees to TRUE if the data are circular. For example, if the first and last data of the vector should be considered next to each other.
1 | smoothGaussian(x, sd = 2, invalid = -1, type = "linear")
|
x |
Numeric vector |
sd |
The standard deviation of the Gaussian kernel used to smooth |
invalid |
Numeric indicating which value should be treated as NA, by default -1.0. The value should be a numeric. |
type |
character vector indicating the type of data to smooth Valid values are linear, circular, degrees. circular assumes that the vector is, i.e. the first and last values are adjacent. degrees assumes that the vector contains degrees (0=360) |
1 | smoothGaussian(x=c(1:10,9:1),sd=2,invalid=-1.0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.