If you provide some data we can work with ("a reproducible example"), then we can help you. Now we can only guess? -- View this message in context: http://r.789695.n4.nabble.com/find-similarity-between-two-spectral-profile-tp4647157p4647319.html Sent from the R help mailing list archive at Nabble.com.