For the record, v6 represented the averages for columns v3-v5 because I could not quickly find the r instruction to calculate the average. Similiarly v7 represents square power of v2. At the time it was quicker than trawling through five or so user manuals for the formula syntax.
______________________________________________ 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.