Get the errorbars to bins of a dataset by using boostrapping I have some data called variable that I can simulate in the following way: