Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comparison of coord_calendar_hierarchical() with sugarrants::facet_calendar() and ggh4x::facet_nested() #5

Open
cynthiahqy opened this issue Jan 23, 2025 · 1 comment

Comments

@cynthiahqy
Copy link

Comparison of coord_calendar_hierarchical() with sugrrants::facet_calendar() and ggh4x::facet_nested()

  • lighter on the facet labelling than sugrrants -- i.e. Month is repeated in sugrrants.
@mitchelloharawild
Copy link
Member

At its core, generally speaking, coord and facet are different because:

  • coord shares the same computational group
  • each facet has its own computational group

The difference being that the line connecting one row to another will be partially drawn with coord, but completely omitted with facet.

For ggtime, coord_calendar requires time to be mapped to the x or y axis, while facet_calendar() can produce panels without time plotted at all.

The coord layout also offers a denser plot layout (similar to sugrrants::frame_calendar).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants