Skip to content

Commit

Permalink
Add example of filling, close #120
Browse files Browse the repository at this point in the history
  • Loading branch information
Robinlovelace committed May 9, 2024
1 parent 324091e commit dbb8c81
Show file tree
Hide file tree
Showing 7 changed files with 239 additions and 3 deletions.
8 changes: 8 additions & 0 deletions code-test/filling-nas-issue-120.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@


``` r
d = c("Road A", NA, NA, "Road B")
zoo::na.locf(d)
```

[1] "Road A" "Road A" "Road A" "Road B"
8 changes: 8 additions & 0 deletions code-test/filling-nas-issue-120.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
format: gfm
---

```{r}
d = c("Road A", NA, NA, "Road B")
zoo::na.locf(d)
```

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit dbb8c81

Please sign in to comment.