Last chance! 50% off unlimited learning
Sale ends in
For a given tolerance setting, kzpdr.valid
will provide cross-validation
information for related results of wave parameter estimations.
kzpdr.valid(rec = ls(1), t.D = 2, t.F = 0.01, level = 1)
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.
Tolerance of direction in degree. Default is 2.
Tolerance of frequency. Default value is 0.01.
level
control the cross-validation process:
integer number k
means to run cross-validation by excluding
k
pairs of directional samples each time. Default value is 1.
Due to the nosies or other reasons, there may exist fake spike signals in the directional periodograms. Cross-validation will evaluate estimations by excluding one or few measurements, and identify the data points that casued inconsistent estimations. A table will be given to summarize the validation results.
For a given tolerance setting, if the validation shows consistent results, related estimation would be reliable.
# load pre-saved data
data(kzpdr.demo)
# validation
kzpdr.valid(kzpdr.demo, t.D = 2, t.F = 0.01, level = 1)
Run the code above in your browser using DataLab