Explore

Find agent skills by outcome

113,842 skills indexed with the new KISS metadata standard.

Showing 24 of 113,842Categories: Data & Insights, General, Coding & Debugging, Communication, Creative
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
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
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
General
PromptBeginner5 minmarkdown

- Methods: `holm` (default)

`BH` (Benjamini-Hochberg FDR)

0
General
PromptBeginner5 minmarkdown

- For tables larger than 2x2

uses simulation (`simulate.p.value = TRUE`) or network algorithm.

0
General
PromptBeginner5 minmarkdown

- `exact = TRUE` by default for small samples with no ties. With ties

normal approximation used.

0
General
PromptBeginner5 minmarkdown

- Paired test: `paired = TRUE` uses signed-rank test (Wilcoxon)

not rank-sum (Mann-Whitney).

0
General
PromptBeginner5 minmarkdown

- `simulate.p.value = TRUE`: Monte Carlo with `B = 2000` replicates (min p ~ 0.0005). Simulation assumes **fixed marginals** (Fisher-style sampling

not the chi-sq assumption).

0
General
PromptBeginner5 minmarkdown

- Return object includes `$expected`

`$residuals` (Pearson)

0
General
PromptBeginner5 minmarkdown

- For goodness-of-fit: pass a vector

not a matrix. `p` must sum to 1 (or set `rescale.p = TRUE`).

0
General
PromptBeginner5 minmarkdown

- `uniroot`: finds a root of `f` in `[lower

upper]`. **Requires** `f(lower)` and `f(upper)` to have opposite signs.

0
General
PromptBeginner5 minmarkdown

- `anova(model1

model2)`: F-test comparing nested models.

0
General
PromptBeginner5 minmarkdown

> Non-obvious behaviors

gotchas

0