Search Appropriate Tolerances Setting for Wave Parameter Estimation

Description

kzpdr.tol will help to find the feasible tolerance settings for the wave parameter estimation.

Usage

1
kzpdr.tol(rec = ls(1), t.D = seq(1, 10, 1), t.F = 0.01)

Arguments

rec

Data list from the outputs of function kzpdr. It includes the data frame for the marked frequency values and corresponding directions. Defaults is searching for available records in the environment.

t.D

Vector for search range of direction tolerance. Default is 1:10 (in degree).

t.F

Vector for search range of frequency tolerance. Default value is c(0.01).

Details

Since the expected wave number is known(see kzpdr.spikes), we can search for the tolerance settings that would generate estimations with wave number in this range. A table will be presented to summary feasible settings.

The searching process would stop when it finsihed the search range, or the increasing of the tolerance led to null result.

See Also

kzpdr, kzpdr.eval kzpdr.valid, kzpdr.spikes

Examples

1
2
3
4
5
# load pre-saved data 
data(kzpdr.demo); 

# search for tolerance 
kzpdr.tol(kzpdr.demo, t.D = c(1,2,3), t.F = 0.005)