corr | R Documentation |
Trait correlations
corr(vars, traits = NULL, effect = NULL)
vars |
object of |
traits |
pair of traits |
effect |
name of effect |
Use either the argument traits
or effect
, not both. Using traits
leads to a partitioning of the total correlation between those two traits, based on path analysis, assuming no correlation between the effects of the Stage 2 model. Using effect
displays the correlation between all traits for that effect. Use the summary
command to see the names of the possible effects.
matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.