make_projection | R Documentation |
make_projection()
outputs the agent or symbolic network corresponding
to a survey, i.e. the row or column projection.
make_projection(
data,
layer,
threshold_method = NULL,
method_value = NULL,
centre = NULL,
similarity_metric = NULL
)
data |
A data frame corresponding to a survey |
layer |
A string flag specifying which layer to project
|
threshold_method |
A string flag specifying how edges are selected in the network representation.
|
method_value |
A utility variable that we interpret according to the
|
centre |
If |
similarity_metric |
This currently has just one allowed value, namely the Manhattan distance, which is the default. |
A data frame corresponding to the edge list of the specified network. It contains three columns named
u
, the first node adjacent to the edge
v
, the second node adjacent to the edge, and
weight
, the similarity between nodes u
and v
S <- make_synthetic_data(20, 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.