Explore

Find agent skills by outcome

117,833 skills indexed with the new KISS metadata standard.

Showing 24 of 117,833Categories: Data & Insights, Creative, General, Coding & Debugging, Openclaw, Data
General
PromptBeginner5 minmarkdown

# df <- df[df$year >= 2010

]

0
General
PromptBeginner5 minmarkdown

# labels = c(18-25

26-45

0
General
PromptBeginner5 minmarkdown

# breaks = c(0

25

0
General
PromptBeginner5 minmarkdown

# df$gender <- ifelse(df$gender == 1

Male

0
General
PromptBeginner5 minmarkdown

# df$date <- as.Date(df$date

format = %Y-%m-%d)

0
General
PromptBeginner5 minmarkdown

cat(sprintf(\n%s (%d unique):\n

col

0
General
PromptBeginner5 minmarkdown

print(table(df[[col]]

useNA = ifany))

0
General
PromptBeginner5 minmarkdown

cat(sprintf(Duplicate rows: %d\n

n_dup))

0
General
PromptBeginner5 minmarkdown

cat_cols <- names(df)[sapply(df

function(x) is.character(x) | is.factor(x))]

0
General
PromptBeginner5 minmarkdown

print(na_report[na_report$n_miss > 0

])

0
Data
PromptBeginner5 minmarkdown

df <- read.csv(your_data.csv

stringsAsFactors = FALSE)

0
General
PromptBeginner5 minmarkdown

pct_miss = round(colMeans(is.na(df)) * 100

1)

0
General
PromptBeginner5 minmarkdown

head(df

10)

0
General
PromptBeginner5 minmarkdown

# library(car) # Type II/III ANOVA

VIF

0
General
PromptBeginner5 minmarkdown

# Copy this file

rename it

0
General
PromptBeginner5 minmarkdown

# library(lmtest) # Breusch-Pagan

Durbin-Watson etc.

0
General
PromptBeginner5 minmarkdown

- `colorRamp` returns a **function** mapping [0

1] to RGB matrix.

0
General
PromptBeginner5 minmarkdown

- `adjustcolor(col

alpha.f = 0.5)`: easy way to add transparency.

0
General
PromptBeginner5 minmarkdown

- `hcl(h

c

0
General
PromptBeginner5 minmarkdown

- `rgb(r

g

0
General
PromptBeginner5 minmarkdown

- Must call `dev.off()` to finalize the file. Without it

file may be empty/corrupt.

0
General
PromptBeginner5 minmarkdown

- `dev.copy(pdf

file = plot.pdf)` followed by `dev.off()` to save current plot.

0
Coding & Debugging
PromptBeginner5 minmarkdown

- `arrows`: `code = 1` (head at start)

`code = 2` (head at end

0
General
PromptBeginner5 minmarkdown

- `rect(xleft

ybottom

0