sample(x) sample with and without replacement in R
ML comparison in plotly in NB