| CLD | R Documentation |
Create a causal loop diagram (CLD) object
CLD(from, to, polarity = 1, weight = 1)
from |
A vector of type character, providing the variables at the beginning of each (directional) causal link. |
to |
A vector of type character, containing the variables at the end of each
(directional) causal link. Must be the same length as |
polarity |
A numeric vector containing the edge polarities. Must be either
a scalar or a vector the same length as |
weight |
A numeric vector containing the edge weights (e.g., importance
weights). Must be the same length as |
... |
Additional arguments passed to |
A CLD object. This is a list with the following elements:
edf An edge data frame with the following columns:
from — Source variable for the edge.
Class character.
to — Destination variable for the edge.
Class character.
polarity — Edge polarities. Class integer.
weight — Edge weights (e.g., importance weight).
Class integer.
L <- CLD(from=c("a","a","c","c","d"), to=c("b","c","a","d","a"))
L$edges
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.