Learn R Programming

TMA

Description

TMA is an R package for Transmodal Analysis, designed to support research and analysis in Quantitative Ethnography. Working alongside the rENA package, TMA provides tools for importing, preprocessing, and analyzing data, enabling researchers to integrate and visualize multiple data modalities for deeper insights into complex learning and interaction processes.

Install CRAN

Coming Soon

Install Development Version

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

Copy Link

Version

Install

install.packages('tma')

Monthly Downloads

584

Version

0.3.1

License

GPL-3

Maintainer

Cody L Marquart

Last Published

September 19th, 2025

Functions in tma (0.3.1)

contexts

Create Contexts for Units of Analysis
conversation_rules

Conversation rules
names.network.connections

Title
adjacency_key

Adjacency Key
namesToAdjacencyKey

Names to Adjacency Key
accumulate_threads

accumulate_threads
as.matrix.ena.matrix

Matrix without metadata
$.network.matrix

Extract Metadata or Columns from Network Matrix (S3 method)
as.unordered.ordered.ena.connections

Unorder Connections in a Matrix
decay

Internal: Decay function factory (legacy)
as.double.adjacency.key

Convert Adjacency Key to Double (S3 method)
colSums.ena.matrix

Column Sums for ENA Matrices (S3 method)
choose_two

n choose 2
context_tensor

Generate a multidimensional array for window and weight parameters
simple_window

Internal: Simple window decay (legacy)
find_meta_cols

Find metadata columns
rules

Capture Subsetting Rules as Expressions
is.qe.horizon

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

Remove meta columns from a data.table or data.frame
print.network.matrix

Print Method for Network Matrix (S3 method)
is.qe.data

Check if an object is of class 'qe.data'
test_mockdata

Sample Data
as.unordered.ordered.row.connections

Convert Ordered Row Connections to Unordered (S3 method)
tma

TMA for ENA
is.qe.metadata

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

Find conversations by unit
units

Set Units of Analysis for a TMA Model
is.qe.unit

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

Sample Data
test_reddit

Sample Data
test_reddit2

Sample Data
windows_weights

Deprecated Alias for context_tensor
is.qe.code

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

Apply a Subsetting Rule to TMA Contexts (Internal)
view

Interactive Conversation Viewer
RS.data.multimodal

Coded Rescushell multi-modal Data
accumulate_networks

fast accumulate networks
apply_tensor

Apply windowing and weighting to context data for network accumulation (C++ backend)
accumulate_contexts

accumulate_contexts
accumulate

Accumulate Connections from a Multidimensional Array and Context Model
as.character.adjacency.key

Convert Adjacency Key to Character (S3 method)
as.network.connection

Re-class vector as network.connection
as.matrix.network.connections

Convert Network Connections to Matrix (S3 method)
as.qe.unit

Convert a vector to 'qe.unit' class
as.undirected.vector

Extract Upper Triangular Elements
as.qe.horizon

Convert a vector to 'qe.horizon' class
as.qe.metadata

Convert a vector to 'qe.metadata' class
RS.data

Coded Rescushell Chat Data
ATTR_NAMES

Special attribute names for context columns
as.qe.code

Convert a vector to 'qe.code' class
as.qe.data

Convert an object to 'qe.data' class
as.unordered

Convert to Unordered Factor
as.unordered.default

Default Method for as.unordered