That's the error.
By the way, you don't need to have elabe_data$ in there because you have used data = elabe_data.
elabe_data$
data = elabe_data
It would be good to have a reproducible example of your dataset: