May be easier with the full program and data. Your data is sorted by median, so n_center is not in…