I have a data like this:
X <-c(0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1....) Y <-c(0.456, 0.187, 0.998, 0.234,....)
With my data, the above