[R] How two compare two matrixes

Mike Marchywka marchywka at hotmail.com
Fri Mar 4 13:40:49 CET 2011




> ?image
> ?matrix
> z<-matrix(rnorm(100),nrow=10)
> image(1:10,1:10,z)
> heatmap(z)
>




----------------------------------------
> Date: Fri, 4 Mar 2011 09:04:41 +0100
> From: p.pagel at wzw.tum.de
> To: r-help at r-project.org
> Subject: Re: [R] How two compare two matrixes
>
> > Dear all I have two 10*10 matrixes and I would like to compare
> > theirs contents. By the word content I mean to check visually (not
> > with any mathematical formulation) how similar are the contents.
>
> If they are really only 10x10 you can simply print them both to the
> screen and look at them. I'm not sure what else you could do if you
> are not interested in a specific distance emasure etc.
>
> cu
> Philipp
>
> --
> Dr. Philipp Pagel
> Lehrstuhl für Genomorientierte Bioinformatik
> Technische Universität München
> Wissenschaftszentrum Weihenstephan
> Maximus-von-Imhof-Forum 3
> 85354 Freising, Germany
> http://webclu.bio.wzw.tum.de/~pagel/
>
> ______________________________________________
> R-help at 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.
 		 	   		  


More information about the R-help mailing list