Produce Lorenz plot of hitscores

plot_lorenz(hs, col = NULL, counts = NULL)

Arguments

hs

dataframe of hitscores.

col

vector of group colours. Uses more_colours() by default.

counts

optional vector of counts corresponding to each source. If specified, the y-axis is in terms of total counts found, rather than total sources found.

Details

The hs object is obtained from the get_hitscores() function.

Examples

hs <- rgeoprofile_file("tutorial1_hitscore.rds") plot_lorenz(hs)