Explore

Find agent skills by outcome

109,319 skills indexed with the new KISS metadata standard.

Showing 24 of 109,319Categories: General, Coding & Debugging, Writing & Content
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
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
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