# NOT RUN {
data(data_ex_genind)
x <- data_ex_genind
pop_names <- levels(x@pop)
df_pop_indices <- pop_gen_index(x = x,
pop_names = pop_names,
indices = c("Nb_ind", "A"))
# }
Run the code above in your browser using DataLab