I have an external distance object (gdis) and need to convert it to a matrix which contains both halves of the distance matrix. I am currently using the print function to achieve this. It is rather clunky having to print out the entire matrix each time a run the script. Is there any way to avoid this?
wgdis<-print(gdis, upper=TRUE)
1 Answer