powered by
random_panel_selection(indf, n)
library(sms) data(survey) #load the data data(census) some.individuals=random_panel_selection(survey,4) print(some.individuals) # Print the selection of individuals
Run the code above in your browser using DataLab