Fit and rotate a directed ENA model
model.RdThis function normalizes, centers, rotates, and optimizes a directed ENA (Epistemic Network Analysis) model, producing projected points and node positions for further analysis and visualization.
Usage
model(
x,
...,
norm.by = rENA::fun_sphere_norm,
node.position.method = directed_node_optimization,
rotate.using = "svd",
rotation.params = NULL,
rotation.set = NULL,
rotation_on = c("response"),
optimize_on = c("response"),
center_individually = TRUE,
center_to_origin = TRUE
)Arguments
- x
An
ena.set.directedobject containing accumulated adjacency matrices and metadata.- ...
Additional arguments passed to normalization or node position methods.
- norm.by
Function to normalize adjacency vectors (default:
rENA::fun_sphere_norm).- node.position.method
Function to calculate node positions and centroids (default:
directed_node_optimization).- rotate.using
Method for rotation, either "svd" (default) or "mean".
- rotation.params
Optional parameters for rotation (used if
rotate.using = "mean").- rotation.set
Optional custom rotation set (object of class
ena.rotation.set). If provided, overrides automatic rotation.- rotation_on
Character vector specifying which ENA directions to use for rotation (default: "response").
- optimize_on
Character vector specifying which ENA directions to use for node optimization (default: "response").
- center_individually
Logical; if TRUE (default), centers each direction separately; if FALSE, centers difference between response and ground.
- center_to_origin
Logical; if TRUE (default), centers all points and nodes to the origin after rotation.