All functions

libqe-package libqe

libqe: Shared C++ Core for Quantitative Ethnography Packages

lq_accumulate_unit()

Ground/response accumulation for one unit (tma model)

lq_accumulate_unit_with_rows()

Ground/response accumulation for one unit — returns unit vector and per-row matrix

lq_adjacency_matrix_to_vector()

Flatten an adjacency matrix to a connection vector

lq_apply_tensor()

Tensor-based multi-modal accumulation for one unit (tma model)

lq_calculate_1d_index()

Compute a column-major linear index into a multi-dimensional array

lq_calculate_adjacency_matrix()

Core adjacency matrix for one ground+response pair

lq_center_data()

Center data (subtract column means)

lq_complete_rotation()

Complete a rotation — keep named axes verbatim, fill remainder from SVD

lq_deflate()

Project a matrix onto the hyperplane orthogonal to a unit-norm axis

lq_directed_node_positions()

Least-squares node positions for directed ENA

lq_directed_node_positions_ground_response()

Directed node positions with paired ground+response rows combined

lq_directed_to_upper_tri()

Fold a directed (n*n) vector into an undirected upper-triangle vector

lq_ena_correlation()

Pearson correlation with CI between ENA points and centroids

lq_ena_svd()

SVD rotation (matches prcomp(retx=F, scale=F, center=F, tol=0))

lq_group_ci()

Confidence interval for the mean of a group of ENA unit points

lq_lws_lsq_positions()

Least-squares node positions for undirected ENA

lq_means_rotation()

Means rotation

lq_orthogonal_svd()

Orthogonal SVD — orthonormalize named axes via QR, fill the rest from SVD

lq_outlier_ci()

Outlier interval based on IQR (Tukey fence) for a group of ENA unit points

lq_rolling_window_sum()

Rolling backward window sum of a code matrix

lq_rows_to_co_occurrences()

Per-row upper-triangle co-occurrence matrix

lq_skip_sphere_norm()

Max-norm scaling (divide all rows by the largest row L2 norm)

lq_sphere_norm()

Row-wise L2 (sphere) normalization

lq_stanza_window()

Traditional stanza-window accumulation (rENA model)

lq_svector_to_upper_tri()

Code-name pairs for upper-triangle positions ("A & B")

lq_tri_indices()

Upper-triangle index pairs

lq_vector_to_upper_tri()

Pairwise products → upper-triangle vector