dreamRs / dreamRs/flexpivot

Pivot based of a field

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
23
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Is it possible to pivot based of a field here .In case of mtcars how would I create a pivot between cyl and gear and the value being mpg.

```
mtcars %>%
pivot_table("cyl", "gear") %>%
pivot_format(
# background = "#D8DEE9",
# color = "#3B4252",
# labels = pivot_labels(
# n = "mpg"
)
)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.