TODO: check that people provided the series and primary key names or column indexes
check the version of the package (could use "needs" package)
handle situation with no outliers (what are the outputs and what do people expect? show a warning?)
make it clear it's presumed to be in ascending order