Check if the item "sample_length_class" have one unique class identified as integer and if all values are positive and different of zero.
check_sample_length_class(sample_length_class)
Object of class integer expected. Sample length class of measured individus.