Skip to content

Timeline with events only #12

Description

@mhwombat

Thank you for making this package available. I would like to be able to generate a timeline with just events, no time periods. I tried to accomplish this by passing a data frame with no rows as the first argument, but got an error.

> ww2a <- ww2[-c(1:8),]
> timeline(ww2a, ww2.events)
Error in `$<-.data.frame`(`*tmp*`, "ymax", value = NA) : 
  replacement has 1 row, data has 0
> ww2a
[1] Person    Group     StartDate EndDate  
<0 rows> (or 0-length row.names)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions