Every chosen column of a data frame becomes an empirical() random
variable named after the column, and the number of rows becomes the model's
scenario count. All columns are read at the same scenario index, so rows
observed jointly stay jointly distributed — correlation in the data survives
into the model.
Arguments
- m
A
model().- data
A data frame of jointly observed rows.
- cols
Which columns to use (default: all of them).