Hi. What does your data look like? Can you provide a reproducible example?
a and b are columns in the data frame or vectors and they need to be of the same length.
a
b