Skip to content

Commit

Permalink
split df
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitfarmer committed May 15, 2019
1 parent b6938cb commit 4ede783
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/r.md
Expand Up @@ -16,6 +16,16 @@ description: "R commands and packages."

---

# Data Frame/Tibble
## Split a DF/Tbl to a List of DF/Tbl

The code below will split a DF/Tbl according to the values (e.g patterns) in a column and generate a named list (dictionary) of DF/Tbls. The names/keys of the list will be the same as the values used in the criteria to split the DF/Tbl.

```
split (DF, criteria)
example: x <- ttest_hg %>% split(f = .$Pattern)
```

# Colours in R

Package
Expand Down

0 comments on commit 4ede783

Please sign in to comment.