[R] Help on sound identification of "distance between lines"
motyocska at yahoo.com
Sat May 11 12:49:11 CEST 2013
I would like to ask for some input on the following (here is a simplified version of the code):
#find closest line
M <- rbind(sim, true)
D <- as.matrix(dist(M))
diag(D) <- NA
In reality sim will consist of 5000 rows. My goal here is to use a sound method to find the row in sim that is most identical or closest to true (represented by the red line in the plot) taking into consideration the whole time interval evaluated.
as always, thanks for the input...
More information about the R-help