On Fri, Apr 9, 2010 at 8:58 AM, David Nemer <davidne...@gmail.com> wrote: > Hello Joshua, > Thanks for your help. The ranking list doesn't have numbers (it doesn't > matter the name of the file), just the file name, and the ranking is assumed > base on the position of the file name in the list (so the first filename to > appear is ranked number 1). So I guess I would just need to add the > filenames into a vector (array) for both rankings and then compare them.. is
You would add both lists to vectors. > it right? And to compare them I would use cor() right? cor() requires numeric data. To use it in this case, you would need to come up with rankings based on the position for each file name, and use those pairs of numbers with cor(). > Cheers, > -- > David Nemer -- Joshua Wiley Senior in Psychology University of California, Riverside http://www.joshuawiley.com/ ______________________________________________ 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.