Create a correlation specification for random parameters
Usage
cor_spec(with, value, level = NULL, with_level = NULL)
Arguments
- with
Character. Name of attribute to correlate with
- value
Numeric. Correlation value between -1 and 1
- level
Character. For categorical variables, specific level to correlate from
- with_level
Character. For categorical variables, specific level to correlate with
Value
A correlation specification list