Skip to main content

1  Prerequisites

The examples assume familiarity with R vectors, data frames, factors, function arguments, and indexing. Programming for Data Science in R provides an introduction to those topics.

An analysis also requires a defined outcome, a unit of observation, and a sampling design. Record identifier columns, repeated measurements, time order, and groups before specifying training and assessment splits.

The guide uses @ for S7 properties and [[ for list or data-frame elements. setup_*() functions construct typed configurations; computational functions such as train() execute them. Continue with installation.

© 2026 E.D. Gennatas