Package ‘segmented’ - R