count_most_frequent_sts.Rd
function to filter a ST count table to return the top X STS
count_most_frequent_sts(st_counts, number_sts = 10)
number_sts | the maximum number of STs (default 10) |
---|---|
st_counts_by_country | a dataframe of ST counts columns County, ST, count, proportion |
a filtered dataframe derived from the st_counts_by_country dataframe containing only the most combine most common STs