BaSAR – A tool in R for frequency detection.