Learn R Programming

cbcTools (version 0.7.1)

cor_spec: Create a correlation specification for random parameters

Description

Create a correlation specification for random parameters

Usage

cor_spec(with, value, level = NULL, with_level = NULL)

Value

A correlation specification list

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