R: Check a LSW spectrum through repeated simulation and...

checkmyews {wavethresh} | R Documentation

## Check a LSW spectrum through repeated simulation and empirical averages

### Description

Given a LSW spectrum this function simulates `nsim` realizations, estimates the spectrum, and then averages the results. The large sample averages should converge to the original spectrum.

### Usage

    checkmyews(spec, nsim=10)

### Arguments

`spec` | The LSW spectrum
`nsim` | The number of realizations

### Value

A LSW spectrum obtained as the average of `nsim` simulations from the `spec` spectrum.

### Author(s)

G P Nason

### See Also

`cns`,`LSWsim`, `ewspec`

[Package wavethresh version 4.6.8 Index]