- `FUN` argument applies a function to each combination: `combn(5
3
Explore
122,522 skills indexed with the new KISS metadata standard.
3
names
y))` in conditionals.
m)` or `combn(x
class = myError))` then catch with `tryCatch(...
i.e.
warning = function(w) {...})` catches the **first** warning and exits. Use `withCallingHandlers` + `invokeRestart(muffleWarning)` to suppress warnings but continue.
error = function(e) e)` returns the error condition object.
length)` but faster (implemented in C).
not where the error occurred. Cannot resume execution.
...)` is a simple wrapper for `mapply(f
x)` returns the **index** of the first match (like `Find` but returns position
x)` returns the **first** element where `f(elem)` is `TRUE`. `Find(f
x
x)` keeps elements where `f(elem)` is `TRUE`. Unlike `x[sapply(x
x
list_of_dfs)` to combine a list of data frames.
x)` applies binary function `f` cumulatively: `Reduce(+
x
args_list)` — `args` must be a **list**
gotchas
expr)` avoids repeating `df$` everywhere
need Reduce/Filter/Map
`warning()`