?read.csv to read your data in, then ?dist
to calculate distances. steve -----Original Message----- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Debasish Sahu Sent: Friday, September 27, 2013 12:26 AM To: r-help@r-project.org Subject: [R] Calculating euclidean distance in R Hello, I am quite new to R.(in fact for the first time I am using) So forgive me if I have asked a silly question. I have a table in.csv format with data for location of samples in X, Y, Z (column)format. Now I want to calculate the Euclidean distance for the total sample dataset. Can you please help me how to get the Euclidean distance of dataset . Thanks & regards, Debasish [[alternative HTML version deleted]] ______________________________________________ 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.
______________________________________________ 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.