| optimize | R Documentation |
This function computes and assigns node positions and centroids for an ENA set object using the current points and rotation information.
optimize(x, weights = NULL)
x |
An |
weights |
Optional. A numeric matrix of connection weights. If provided, the function will use this matrix instead of the connection counts from the |
The input ena.set object with updated node and centroid positions.
# Assuming 'set' is an ena.set object:
data(RS.data)
codes <- c("Data", "Technical.Constraints", "Performance.Parameters",
"Client.and.Consultant.Requests", "Design.Reasoning",
"Collaboration")
units <- c("Condition", "UserName")
horizon <- c("Condition", "GroupName")
enaset <- RS.data |>
accumulate(units, codes, horizon) |>
sphere_norm() |>
center() |>
rotate() |>
project() |>
optimize()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.