- `model.matrix` creates the design matrix including dummy coding. Default contrasts: `contr.treatment` for unordered factors

`contr.poly` for ordered.

Views0
PublishedApr 2, 2026

Loading actions...

5 minBeginnerpromptSingle file

Skill content

Main instructions and any bundled files for this skill.

markdown

- model.matrix creates the design matrix including dummy coding. Default contrasts: contr.treatment for unordered factors

contr.poly for ordered.

Share: