Description Usage Arguments Examples
Count number of increasing values in a sequence
1 |
x |
a numeric sequence |
1 2 3 | f <- system.file("extdata", "day1.txt", package = "adventofcode21")
x <- read.delim(f, header = FALSE)[[1]]
count_increased(x) # 1451
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.