> I have a data matrix with 570 columns containing 95 (samples) > with 6 replicates each. > How can I calculate the mean of the replicates for 95 samples?
Write a function that calculates the sample means for a vector of 95 observations and then use apply() to apply that function to the whole matrix. S ******************************************************************* This email and any attachments are confidential. Any use...{{dropped:8}} ______________________________________________ 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.