Crossover Function

I'd like to help you if you can explain what your issue is, and even better provide a reprex
FAQ: How to do a minimal reproducible example ( reprex ) for beginners