Im trying to do a cross validation in R but i don't know where to start from. I have looked online to see if i can find anything but I can't make any sense from it

I'm focusing on Premier league data and I have 10 Seasons worth of matches all in 1 dataset Now, what would a cross validation do, which part of the data do i focus on (I have the Home Team, Away Team, Results, Goals Scored in my dataset) and how do i start a cross validation

Any help would be appreciated

Thanks in advance

New contributor
Waseem Hussain is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

closed as off-topic by mkt, Peter Flom Feb 10 at 10:57

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question appears to be off-topic because EITHER it is not about statistics, machine learning, data analysis, data mining, or data visualization, OR it focuses on programming, debugging, or performing routine operations within a statistical computing platform. If the latter, you could try the support links we maintain." – Peter Flom
If this question can be reworded to fit the rules in the help center, please edit the question.