Checks a QWAprofile object before analysis (profiles are derived data and
not imported into TRIA). Aborts if the object is not a valid QWAprofile
(key columns image_label, year and sector_n for sector profiles or
start/end for band profiles missing, mistyped, NA or not unique;
bands with start >= end). Warns (or, with strict = TRUE, aborts) on:
no measurement column, or all measurement values
NA(the count columns<param>_Nandmrw,eww,ew_bandare not measurements);band profiles with bands of different widths;
sector profiles with
sector_n< 1.
Arguments
- x
A QWAprofile object.
- strict
If
TRUE, abort on the first issue instead of warning.