I think my code is very close I can seem to be able to debug it Might be something very simple I know the problem is on the last 3 lines of code can you please help? Thanks Michelle
______________________________________________ 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.