kzsv: Kolmogorov-Zurbenko Adaptive filter with Sample Variance.

Description Usage Arguments Examples

View source: R/kza.R

Description

Sample variance of a Kolmogorov-Zurbenko adaptive filter. You want a sigma of at least 3.

Usage

1
2
3
4
5
kzsv(object)
## S3 method for class 'kzsv'
summary(object, digits=getOption("digits"), ...)
## S3 method for class 'kzsv'
plot(x, ...)

Arguments

object

The resultant object from kza function.

x

The results of the kza function.

digits

Precision of output.

...

Other parameters.

Examples

1
2
3
4
5
x <- c(rep(0,4000),rep(0.5,2000),rep(0,4000))
noise <- rnorm(n = 10000, sd = 1.0) # normally-distributed random variates
v <- x + noise
a<-kza(v, m=1000, k=3)
sv<-kzsv(a)

Example output



kza documentation built on March 26, 2020, 6:27 p.m.

Related to kzsv in kza...