Create a Time availability plot

plotTimeAvailabilityTs(
  TS,
  age.range = NA,
  age.var = "age",
  group.var = "archiveType",
  step = NA
)

Arguments

TS

a lipd TS object. This should probably be filtered to show just records you're interested in, as all we counted

age.range

a two element vector that includes the range over which you want to count (default = NA, which calculates the full range in the TS)

age.var

What age variable should be used (default = "age")

group.var

What variable Should be used to Group the counts? (default = "archiveType")

step

What step size should be used along the age axis? (default = NA, which will calculate 0.5% of the age.range)

Value

a ggplot object