View source: R/resamp_define.R
define_correlation | R Documentation |
Not all correlation need to be specified for all variable combinations, unspecified correlations are assumed to be 0.
define_correlation(...)
define_correlation_(.dots)
... |
A list of parameter names and correlation
coefficients of the form |
.dots |
Used to work around non-standard evaluation. |
An object of class correlation_matrix
.
cm <- define_correlation(
var1, var2, .4,
var1, var3, -.2,
var2, var3, .1
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.