Plot animal sampling time histogram in facet

plot_time(loc_data_subset)

Arguments

loc_data_subset

A subset of animals. A data.table subset taken from full data set of all animals location loc_data. Note the id column is factor with all animals identity as levels. So this subset still have all identities information, which is needed to color each animal consistently.

Value

A ggplot object.