Hi all..

I am so far successful in plotting the matrices containing r-values and evol.distances using R. But I am facing a problem to fit a line to
 it. I tried using "lm" function  but no success..!!
 
 Can you please help me for that? I am giving the functions, I tried, to get a
 plot here:
 
 > dismat <- read.table("M:\dreb5.txt",sep="\t")
 > cormat <- read.table("M:\cordreb5.txt",sep="\t")
 > plot(as.vector(as.matrix(cormat)), as.vector(as.matrix(dismat)))
 > linmod <- lm(cormat~dismat, data=??) <- I am not sure what should be given for the data as two matrices are ploted against each other!
 
 Thanking you.

Urmi
 
       
---------------------------------
 Get the freedom to save as many mails as you wish. Click here to know how.
	[[alternative HTML version deleted]]

