Thank you so very much for your help. That worked perfectly. Yes, it's homework, but hopefully what I'm learning with the homework I'll be able to apply to my own research in the future, so I'd really like to learn the program. And by the by, the "someone" was a classmate. Thanks again!
Crystal -- View this message in context: http://r.789695.n4.nabble.com/How-do-I-turn-NA-s-to-zeroes-when-a-combination-lacks-one-element-tp4338725p4338869.html Sent from the R help mailing list archive at Nabble.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.