Learn R Programming

rENA

What is ENA

Epistemic Network Analysis (ENA) is a method for identifying and quantifying connections among elements in coded data and representing them in dynamic network models. A key feature of the ENA tool is that it enables researchers compare different networks, both visually and through summary statistics that reflect the weighted structure of connections. The interface also allows users to see the original data that contributed to each of the connections in the network representation. ENA can thus be used to address a wide range of qualitative and quantitative research questions.

Researchers have used ENA to analyze and visualize a wide range of phenomena, including: cognitive connections that students make while solving complex problems; interactions among different regions of the brain in fMRI data; social gaze coordination; integration of operative skills during surgical procedures; and many others.


Installation

From CRAN

install.packages("rENA")

Development Version

install.packages("rENA", repos = c("https://rena.qe-libs.org/cran/", "https://cran.rstudio.org"))

Resources

To learn more about ENA, visit the resources page.

Copy Link

Version

Install

install.packages('rENA')

Monthly Downloads

1,312

Version

0.3.1

License

GPL-3 | file LICENSE

Maintainer

Cody L Marquart

Last Published

February 11th, 2026

Functions in rENA (0.3.1)

as.ena.matrix

Re-class matrix as ena.matrix
as.ena.co.occurrence

Re-class vector as ena.co.occurrence
add_trajectory

Add a trajectory to an ENA plot
as.ena.metadata

Re-class matrix as ena.metadata
as.matrix.row.connections

ENA row connections as matrix
as.qe.code

Convert a vector to 'qe.code' class
check_range

Updates the axis ranges of an ENA plot based on the plotted data.
as.qe.horizon

Convert a vector to 'qe.horizon' class
directed_node_positions

Multiobjective, Component by Component, with Ellipsoidal Scaling, for directed ENA
as.qe.data

Convert an object to 'qe.data' class
define

Apply metadata and code transformations to a data.table
as.qe.metadata

Convert a vector to 'qe.metadata' class
center

Center ENA Data
$.line.weights

Extract line.weignts easily
ena.plot.network

Plot an ENA network
ena.plot.group

Plot of ENA set groups
as_trajectory

Title
as.matrix.ena.points

ENA points as matrix
connection.matrix

Connection counts as square matrix
$.ena.matrix

Extract from ena.matrix easily using metadata
compute_SB

Compute Between-Group Scatter Matrix
as.matrix.ena.rotation.matrix

ENA rotations as matrix
directed_node_positions_with_ground_response_added

Node position optimization with ground and response weights/points added
clear

Clears specified plots from an ENA set.
ena.conversations

Find conversations by unit
as.qe.unit

Convert a vector to 'qe.unit' class
ena.accumulate.data

Accumulate data from a data frame into a set of adjacency (co-occurrence) vectors
ena.plot.points

Plot points on an ENAplot
ena.rotation.h

hENA rotation for ENA
ena.rotate.by.mean

ENA Rotate by mean
ena.plot.trajectory

Plot of ENA trajectories
ena.plotter

Wrapper to generate plots of units, groups, and networks
ena.make.set

Generate ENA Set
ena.plot

Generate a plot of an ENAset
ena.rotate.by.generalized

ENA Rotate by generalized means rotation (gmr)
fun_sphere_norm

Row-wise L2 (Sphere) Normalization
get_x1_main_effect

Extract Main Effect Contribution of the First Predictor Using Elastic Net
ena

Wrapper to generate, and optionally plot, an ENA model
find_code_cols

Find code columns
means_rotate

Title
fun_skip_sphere_norm

Row-wise Max-Norm Scaling
merge_columns_c

Merge data frame columns
fun_cohens.d

Cohen's d
ena.rotate.by.hena.regression

ENA Rotate by regression
horizon

Reclassify specified columns as horizon or list horizon columns in a data.table
find_binary_cols

Find Binary Columns
move_nodes_to_unit_circle

Title
move_nodes_to_unit_circle_with_equal_space

Title
is.qe.metadata

Check if an object is of class 'qe.metadata'
metadata

Reclassify specified columns as metadata or list metadata columns in a data.table
is.qe.horizon

Check if an object is of class 'qe.horizon'
methods_report

methods_report
is.qe.data

Check if an object is of class 'qe.data'
*.ena.matrix

Multiply ena.matrix objects Element-wise multiplication of dimension columns in an ena.matrix by another ena.matrix or numeric matrix. If e2 is an ena.matrix, it is converted to a standard matrix before multiplication. The multiplication is applied only to the dimension columns of e1, while other columns remain unchanged.
rotate

Rotate ENA Data
scale.ENAplot

Scales the points in an ENA set.
is.qe.code

Check if an object is of class 'qe.code'
show

Display and update plot objects within a custom object
sphere_norm

Apply Spherical Normalization to ENA Data
units

Reclassify specified columns as units or list unit columns in a data.table
print.ena.set

Title
is.qe.unit

Check if an object is of class 'qe.unit'
remove_meta_data

Remove meta columns from data.table
methods_report_stream

methods_report_stream
model

Build a Complete ENA Model
reclassify

Reclassify specified columns in a data.table
vector_to_ut

vector to upper triangle
as.matrix.ena.nodes

ENA nodes as matrix
$.ena.points

Extract points easily
ena.set.creator

Wrapper to generate an ENA model
ena.group

Compute summary statistic for groupings of units using given method (typically, mean)
with.ena.matrix

with.ena.matrix
$.ena.metadata

Extract metadata easily
ena.correlations

Calculate the correlations
codes

Reclassify specified columns as codes or list codes columns in a data.table
combn_c2

Fast combn choose 2
project

Project ENA Points onto Rotated Space
ena.rotate.by.hena.regression_2

ENA Rotate by regression (second way)
ena.writeup

Calculate the correlations
ena.svd

ENA SVD
ena_correlation

Calculate the correlations
namesToAdjacencyKey

Names to Adjacency Key
with_means

Adds group means to the ENA plot.
find_meta_cols

Find metadata columns
find_dimension_cols

Find dimension columns
gmr

Generalized Means Rotation (GMR)
plot.ena.set

Plot an ena.set object
rENA

rENA creates ENA sets
with_trajectory

Adds trajectories to an ENA plot.
optimize

Optimize Node and Centroid Positions in ENA Set
group

Add all groups to an ENA plot
project_in

Title
prepare_trajectory_data

Prepares trajectory data for an ENA plot.
add_nodes

Add nodes to an ENA plot
ENAplot

ENAplot Class
add_network

Add a network to an ENA plot
ENARotationSet

ENARotationSet R6class
ENAdata

ENAdata R6class
add_points

Add points to an ENA plot
add_group

Add a group mean to an ENA plot
accumulate

Accumulate Connection Counts for ENA
RS.data

Coded Rescushell Chat Data
ENAset

ENAset R6class
as.matrix.ena.line.weights

ENA line weights as matrix
as.matrix.ena.connections

ENA Connections as a matrix
as.matrix.ena.matrix

Matrix without metadata