The cosmic-ray spectral modulation above 2 GV. IV. — The influence on the attenuation coefficient of the nucleonic component