Are you looking for reshape()? HTH, Stephan
Edward Chen schrieb:
Hi all, I have a mxn matrix that consists of 28077 rows of features and 30 columns of samples. I want to normalize each row for the samples for each feature. I have tried normalize and scale functions but they don't seem to work out the way I want to. Thank you
______________________________________________ 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.