A function that behaves similar to a loop - reruns itself until user reports that no artifacts are present. If artifact is present, user is promted to enter starting and ending x coordinate of the artefact, and artefact is deleted.
Usage
errors(df, usePlotly)
Arguments
df
data
usePlotly
TRUE or FALSE argument. If set to TRUE, plotly will be used to render plot for each animal.