Explore

Find agent skills by outcome

118,423 skills indexed with the new KISS metadata standard.

Showing 24 of 118,423Categories: Data & Insights, Data, Coding & Debugging, Communication, General, Creative
Data
PromptBeginner5 minmarkdown

- Formula interface: `pairs(~ var1 + var2 + var3

data = df)`.

0
General
PromptBeginner5 minmarkdown

- `panel` function receives `(x

y

0
General
PromptBeginner5 minmarkdown

- First argument can be an **expression** in `x` or a function: `curve(sin

0

0
General
PromptBeginner5 minmarkdown

- `axis(side

at

0
General
PromptBeginner5 minmarkdown

- `mtext`: `line` argument positions text in margin lines (0 = adjacent to plot

positive = outward). `adj` controls horizontal position (0-1).

0
General
PromptBeginner5 minmarkdown

- Read-only parameters: `cin`

`cra`

0
General
PromptBeginner5 minmarkdown

- `mgp = c(3

1

0
General
PromptBeginner5 minmarkdown

- `usr` with log scale: contains **log10** of the coordinate limits

not the raw values.

0
General
PromptBeginner5 minmarkdown

- `las`: 0 = parallel to axis

1 = horizontal

0
General
PromptBeginner5 minmarkdown

- `mai` (inches)

`mar` (lines)

0
General
PromptBeginner5 minmarkdown

- Setting `mfrow`/`mfcol` resets `cex` to 1 and `mex` to 1. With 2x2 layout

base `cex` is multiplied by 0.83; with 3+ rows/columns

0
General
PromptBeginner5 minmarkdown

> Non-obvious behaviors

gotchas

0
Data
PromptBeginner5 minmarkdown

- Formula interface: `cor.test(~ x + y

data = df)` — note the `~` with no LHS.

0
General
PromptBeginner5 minmarkdown

- **Lognormal**: `meanlog` and `sdlog` are mean/sd of the **log**

not of the distribution itself.

0
General
PromptBeginner5 minmarkdown

- Returns `$estimate`

`$p.value`

0
General
PromptBeginner5 minmarkdown

- **`n` argument in `r*()` functions**: if `length(n) > 1`

uses `length(n)` as the count

0
General
PromptBeginner5 minmarkdown

- **Beta**: `shape1` (alpha)

`shape2` (beta) — no `mean`/`sd` parameterization.

0
General
PromptBeginner5 minmarkdown

- `names = TRUE` by default

adding 0%

0
Data
PromptBeginner5 minmarkdown

- Default kernel: `gaussian`. Range of density extends beyond data range (controlled by `cut`

default 3 bandwidths).

0
Data
PromptBeginner5 minmarkdown

- Default bandwidth: `bw = nrd0` (Silverman's rule of thumb). For multimodal data

consider `SJ` or `bcv`.

0
General
PromptBeginner5 minmarkdown

- **Nine** `type` options (1-9). Default `type = 7` (R default

linear interpolation). Type 1 = inverse of empirical CDF (SAS default). Types 4-9 are continuous; 1-3 are discontinuous.

0
General
PromptBeginner5 minmarkdown

- `prcomp` uses **SVD** (numerically superior); `princomp` uses `eigen` on covariance (less stable

N-1 vs N scaling).

0
General
PromptBeginner5 minmarkdown

- `method = euclidean` (default). Other options: `manhattan`

`maximum`

0
Creative
PromptBeginner5 minmarkdown

- `nstart > 1` recommended (e.g.

`nstart = 25`): runs algorithm from multiple random starts

0