[R] Reading distance matrices

Doran, Harold HDoran at air.org
Mon Oct 8 19:42:02 CEST 2007


Muri

If it is lower triangular, then the upper triangle is empty. What do you
expect it to have? We don't have any information on how you're reading
in your data. But, read.table() has an argument for na.strings that you
should look at.

> -----Original Message-----
> From: r-help-bounces at r-project.org 
> [mailto:r-help-bounces at r-project.org] On Behalf Of Muri Soares
> Sent: Monday, October 08, 2007 11:15 AM
> To: r-help at r-project.org
> Subject: [R] Reading distance matrices
> 
> Hi all,
> I've been having trouble reading in distance matrices (values 
> in lower triangle only) that have been created by other 
> programs. They load with NA values in the upper triangle. Is 
> there an option to read the matrices properly?
> 
> Thanks,
> Muri
> 
> 
> 
> 
>        
> ______________________________________________________________
> ______________________
> 
> that gives answers, not web links. 
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> 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