upto: Run an expression from X up to N

Description Usage Examples

View source: R/upto.R

Description

Run an expression from X up to N

Usage

1

Examples

1
2
3
4
5
6
7
8
upto(3, 5, print("fart"))
upto(3, 5, )
upto(2, 4, head(mtcars))
upto(10, 13, rnorm(5))
10 %>% upto(15, rnorm(5))

let <- letters[1:10]
upto(1, 6, print(let))

sckott/dottimes documentation built on Dec. 1, 2020, 5:29 p.m.