Skip to content

Commit

Permalink
Merge pull request #118 from wibeasley/patch-6
Browse files Browse the repository at this point in the history
Code  for "split"
  • Loading branch information
edzer authored Jan 17, 2024
2 parents 95464ee + aef7c1e commit a683bde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 07-Introsf.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ Attributes and dimensions can be swapped, using `split` and `merge`:
(rs <- split(r))
merge(rs, name = "band") |> setNames("L7_ETMs")
```
split distributes the `band` dimension over six attributes of a
`split` distributes the `band` dimension over six attributes of a
two-dimensional array, `merge` reverses this operation. `st_redimension`
can be used for more generic operations, such as splitting a single array
dimension over two new dimensions:
Expand Down

0 comments on commit a683bde

Please sign in to comment.