Multiple aside functions with base R pipe
Arguments
- x
An object
- ...
functions to run aside
Examples
n_try <- 1
rnorm(200) |>
matrix(ncol = 2) |>
aside(
print("Matrix prepared"),
print(n_try)
) |>
colSums()
#> [1] "Matrix prepared"
#> [1] 1
#> [1] 8.431527 14.575287