Thank you for the hints, finally I was looking for the substitution of splitted$"2" to splitted[[as.character(counter)]]
I did not know that I can substitute f.e the $"2" with [[2]] or/and $y (second column) with [[2]] Knut ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.