- Tests near equality with tolerance (default 1.5e-8
i.e.
Explore
138,365 skills indexed with the new KISS metadata standard.
i.e.
y))` in conditionals.
class = myError)) then catch with tryCatch(...
not where the error occurred. Cannot resume execution.
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.
x) returns the index of the first match (like Find` but returns position
length)` but faster (implemented in C).
x) returns the first element where f(elem) is TRUE. Find(f
...) is a simple wrapper for mapply(f
x
x) keeps elements where f(elem) is TRUE. Unlike x[sapply(x
x
x
x) applies binary function f cumulatively: Reduce(+
args_list) — args` must be a list
listofdfs)` to combine a list of data frames.
gotchas
warning()
expr) avoids repeating df$` everywhere
need Reduce/Filter/Map
time zones cause off-by-one
regex behaves differently than expected
layout/mfrow interaction is confusing