Add example script and add '@importFrom stats na.omit' (fixes #6)