Learn R Programming

gmwm (version 2.0.0)

fast_cov_cpp: Computes the (MODWT) wavelet covariance matrix using Chi-square confidence interval bounds

Description

Calculates the (MODWT) wavelet covariance matrix using Chi-square confidence interval bounds

Usage

fast_cov_cpp(ci_hi, ci_lo)

Arguments

ci_hi
A vec that contains the upper confidence interval points.
ci_lo
A vec that contains the lower confidence interval points.

Value

A diagonal matrix.

Examples

Run this code
## Not run: 
# x=runif(100)
# y=x+3
# fast_cov_cpp(y,x)
# ## End(Not run)

Run the code above in your browser using DataLab