Merge branch 'issue#42' into 'master'

To be able to handle NAs we need to add the parameter: na.action = na.omit,...

See merge request !28
3 jobs for master in 7 minutes and 46 seconds (queued for 5 seconds)