Often while working with some dataset, we would like to randomly select samples. sample() function in base R is one of the most useful functions to get "Random Samples and Permutations" in numerous settings. In this post we will learn how to use sample() function in multiple ways … [Read more...] about sample() function in R for random sampling