I\'m really new to R and I\'m struggling quite a bit to understand some concepts. If someone could help me to understand how to calculate the average error rate over 10-fol