General
PromptBeginner5 minmarkdown
- `Map(f
...)` is a simple wrapper for `mapply(f
0
Explore
116,184 skills indexed with the new KISS metadata standard.
...)` is a simple wrapper for `mapply(f
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**
gotchas
expr)` avoids repeating `df$` everywhere
`warning()`
time zones cause off-by-one
need Reduce/Filter/Map
`*` vs `:`
surprising defaults
read the reference files in `references/`:
med
breaks = c(0
df2) # bind columns (same rows)
]
]
df2) # stack rows (same columns)
-df$value)
] # descending
] # ascending
v2))