- On a **data frame**
`apply` coerces to matrix via `as.matrix` first — mixed types become character.
Explore
12,437 skills indexed with the new KISS metadata standard.
`apply` coerces to matrix via `as.matrix` first — mixed types become character.
j)]`) coerces to matrix first — avoid.
1]` returns a **vector** (drop=TRUE default for columns)
which can silently pick up wrong variables in programmatic use. Use `[` with explicit logic in functions.
not its character labels. Use `x[as.character(f)]` for label-based indexing.
start
skeleton)` — `flesh` is the flat data
list_of_dfs)` to combine a list of data frames.
regex behaves differently than expected
layout/mfrow interaction is confusing
need to choose correct p.adjust method
apply on data frame gives unexpected coercion
data = df)
newdata = new_df)
data = df)
data = df
data.rds)
header = TRUE
stringsAsFactors = FALSE)
data = df
control flow
data wrangling
and what must we verify for auditors?”
” the agent states only what’s documented and outlines how to verify scope in official docs and tenant configuration.