Skip to contents

Header-only C++ library providing shared computational primitives for rENA, tma, and other Quantitative Ethnography packages. Exposes shared computational modules via Rcpp-wrapped functions:

Details

Adjacency

Upper-triangle index pairs and vector/matrix conversions. See connection_indices, network_to_vector, code_connections, and fold_directed_network.

Normalization

Row-wise L2 sphere norm and max-norm scaling. See normalize_networks and scale_networks.

Statistics

Column centering, confidence intervals and two-group tests. See center_points, mean_ci, outlier_ci, and group_stats.

Door

Temporal pooling transforms for lookback and EMA-smoothed event streams. See door_lookback and door_ema.

Trajectory

Polynomial trajectory fitting, evaluation, derivative, and distance utilities. See fit_trajectory_poly, eval_trajectory_curve, and integrated_trajectory_distance.

The ENA model code (rotations, node positions, CCD) is in rENA and all accumulation is in tma.

Using libqe headers in your own R package:

Add to DESCRIPTION:


  LinkingTo: Rcpp, RcppArmadillo, libqe

Then in your .cpp source:


  // [[Rcpp::depends(RcppArmadillo, libqe)]]
  #include <RcppArmadillo.h>
  #include <libqe/libqe.hpp>

Author

Maintainer: Cody L Marquart cody.marquart@wisc.edu (ORCID)