Skip to content

Commit 6b29e10

Browse files
committed
added pkgs to various notes
1 parent 31e44f7 commit 6b29e10

9 files changed

Lines changed: 32 additions & 1 deletion

qmd/algorithms-ml.qmd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@
259259
### Misc {#sec-alg-ml-knn-misc .unnumbered}
260260
261261
- Packages
262+
- [{]{style="color: #990000"}[bigKNN](https://cran.r-project.org/web/packages/bigKNN/index.html){style="color: #990000"}[}]{style="color: #990000"} - Exact Search and Graph Construction for 'bigmemory' Matrices
262263
- [{]{style="color: #990000"}[kknn](https://cran.r-project.org/web/packages/kknn/index.html){style="color: #990000"}[}]{style="color: #990000"} - Weighted k-Nearest Neighbors for Classification, Regression and Clustering.
263264
- [{]{style="color: #990000"}[LCCkNN](https://cran.r-project.org/web/packages/LCCkNN/index.html){style="color: #990000"}[}]{style="color: #990000"} - Adaptive k-Nearest Neighbor Classifier Based on Local Curvature Estimation
264265
- Implements the kK-NN algorithm, an adaptive k-nearest neighbor classifier that adjusts the neighborhood size based on local data curvature
@@ -272,6 +273,7 @@
272273
- It shows a preprocessing transformation that is performed before kNN to make it more efficient
273274
- It might already be implemented in ANN algorithms
274275
- Packages
276+
- [{]{style="color: #990000"}[bigANNOY](https://cran.r-project.org/web/packages/bigANNOY/index.html){style="color: #990000"}[}]{style="color: #990000"} - Approximate k-Nearest Neighbour Search for 'bigmemory' Matrices with Annoy
275277
- [{]{style="color: goldenrod"}[faiss-gpu, cpu](https://faiss.ai/){style="color: goldenrod"}[}]{style="color: goldenrod"} - Efficient similarity search and clustering of dense vectors.
276278
- Contains algorithms that search in sets of vectors of any size, up to ones that possibly do not fit in RAM.
277279
- Contains supporting code for evaluation and parameter tuning.

qmd/econometrics-general.qmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@
247247

248248
- Packages
249249

250+
- [{]{style="color: #990000"}[catviz](https://cran.r-project.org/web/packages/catviz/index.html){style="color: #990000"}[}]{style="color: #990000"} - Visualizing Causal Assignment Trees for Callaway and Sant'Anna difference-in-differences (CSDiD) and doubly robust difference-in-difference-differences (DR-DDD) Designs
250251
- [{]{style="color: #990000"}[did](https://bcallaway11.github.io/did/){style="color: #990000"}[}]{style="color: #990000"} - Computes ATE for DiD and allows for:
251252
- More than two time periods
252253
- Variation in treatment timing (i.e., units can become treated at different points in time)

qmd/llms-agent-chains.qmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
## Misc {#sec-llm-achains-misc .unnumbered}
44

55
- Packages
6+
- [{]{style="color: #990000"}[aisdk](https://cran.r-project.org/web/packages/aisdk/index.html){style="color: #990000"}[}]{style="color: #990000"} - A production-grade AI toolkit for R featuring a layered architecture (Specification, Utilities, Providers, Core), request interception support, robust error handling with exponential retry delays,
7+
- Support for multiple AI model providers ('OpenAI', 'Anthropic', etc.) and local small language model inference.
8+
- Includes a distributed 'MCP' ecosystem, multi-agent orchestration, progressive knowledge loading through skills, and a global skill store for sharing AI capabilities
69
- [{]{style="color: goldenrod"}[chatlas](https://posit-dev.github.io/chatlas/){style="color: goldenrod"}[}]{style="color: goldenrod"} - Posit's agent orchestration tool
710
- [{]{style="color: #990000"}[mini007](https://cran.r-project.org/web/packages/mini007/index.html){style="color: #990000"}[}]{style="color: #990000"} - Lightweight Framework for Orchestrating Multi-Agent Large Language Models
811
- Tools for creating agents with persistent state using R6 classes and the [{ellmer}]{style="color: #990000"}

qmd/mathematics-linear-algebra.qmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
## Misc {#sec-math-linalg-misc .unnumbered}
44

55
- Packages
6+
- [{]{style="color: #990000"}[gghinton](https://cran.r-project.org/web/packages/gghinton/index.html){style="color: #990000"}[}]{style="color: #990000"} - {ggplot2} extension for drawing Hinton diagrams,
7+
- A visualization technique for numerical matrices in which the area of each square is proportional to the magnitude of the corresponding entry
8+
- Useful for visualising PCA weight matrices, correlation matrices, and transition matrices.
69
- [{]{style="color: #990000"}[GPUmatrix](https://cran.r-project.org/web/packages/GPUmatrix/index.html){style="color: #990000"}[}]{style="color: #990000"} ([Github](https://github.com/ceslobfer/GPUmatrix)) - Mimics the behavior of [{Matrix}]{style="color: #990000"} and extends R to use the GPU for computations. It includes single(FP32) and double(FP64) precision data types, and provides support for sparse matrices. Able to use Tensorflow or Torch.
710
- [{]{style="color: #990000"}[Matrix](https://cran.r-project.org/web/packages/Matrix/index.html){style="color: #990000"}[}]{style="color: #990000"} - A rich hierarchy of sparse and dense matrix classes, including general, symmetric, triangular, and diagonal matrices with numeric, logical, or pattern entries.
811
- Efficient methods for operating on such matrices, often wrapping the 'BLAS', 'LAPACK', and 'SuiteSparse' libraries

qmd/missingness.qmd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
- Model employs a uniform variable-selection mechanism across imputed datasets for prediction
1111
- [{]{style="color: #990000"}[CoImp](https://cran.r-project.org/web/packages/CoImp/){style="color: #990000"}[}]{style="color: #990000"} - Parametric and Non-Parametric **Copula-Based** Imputation Methods
1212
- The appropriate types of missingness are not explicitly mentioned in the docs, but based on the dgp functions, MCAR and MAR seem to the use cases.
13+
- [{]{style="color: #990000"}[CompositionalNAimp](https://cran.r-project.org/web/packages/CompositionalNAimp/index.html){style="color: #990000"}[}]{style="color: #990000"} - Missing Value Imputation with **Compositional Data**
14+
- Uses the Jensen-Shannon divergence based k–NN and a–k–NN algorithms
1315
- [{]{style="color: #990000"}[DebiasInfer](https://github.com/zhangyk8/Debias-Infer/tree/main/R_Package){style="color: #990000"}[}]{style="color: #990000"} ([Paper](https://arxiv.org/abs/2309.06429)) - Debiasing method for conducting valid inference on the **high-dimensional linear regression function with missing outcomes that are MAR**
1416
- Combines a Lasso pilot estimate of the regression function with a bias correction term based on the weighted residuals of the Lasso regression. The weights depend on estimates of the missingness probabilities (propensity scores) and solve a convex optimization program that trades off bias and variance optimally.
1517
- [{]{style="color: goldenrod"}[Debias-Infer](https://debias-infer.readthedocs.io/en/latest/index.html){style="color: goldenrod"}[}]{style="color: goldenrod"}

qmd/quarto-typst.qmd

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
- Packages
1010

1111
- [{]{style="color: #990000"}[r2typ](https://y-sunflower.github.io/r2typ/){style="color: #990000"}[}]{style="color: #990000"} - An R package for generating Typst markup
12+
- [{]{style="color: #990000"}[tyndling](https://cran.r-project.org/web/packages/tynding/index.html){style="color: #990000"}[}]{style="color: #990000"} - Provides bindings to the 'Typst' typesetting system, enabling users to compile 'Typst' documents directly from R.
13+
- The package interfaces with the 'Typst' 'Rust' library to render documents, making it possible to integrate 'Typst'-based workflows into R scripts, reports, and reproducible research pipelines.
14+
- Supports programmatic document generation, compilation, and output handling, facilitating seamless use of 'Typst' alongside tools such as knitr and Quarto
15+
- Similar to [{typr}]{style="color: #990000"} which compiles your document using the Typst/Quarto CLI, while [{tynding}]{style="color: #990000"} uses the Typst compiler itself via the Typst Rust library.
16+
- Portable in the sense that you don’t have to worry about installing Typst separately and/or adding it to your PATH.
1217
- [{]{style="color: #990000"}[typstable](https://freierson.github.io/typstable/){style="color: #990000"}[}]{style="color: #990000"} - Produce publication-ready tables for Quarto documents targeting the Typst format
1318

1419
- Documentation

qmd/regression-survival.qmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ fig-cap-location: top
4949
- [{]{style="color: #990000"}[jsurvival](https://www.serdarbalci.com/jsurvival/){style="color: #990000"}[}]{style="color: #990000"} - A comprehensive survival analysis module for jamovi that bridges the gap between **advanced statistical methods** and clinical research accessibility
5050
- [Jamovi](https://www.jamovi.org/) is free, open source spreadsheet software
5151
- **Extensive vignettes**
52+
- [{]{style="color: #990000"}[mmbcv](https://cran.r-project.org/web/packages/mmbcv/index.html){style="color: #990000"}[}]{style="color: #990000"} - Computes **robust and bias-corrected sandwich variance** estimators for multi-state Cox models with clustered time-to-event data
5253
- [{]{style="color: #990000"}[msm](https://github.com/chjackson/msm){style="color: #990000"}[}]{style="color: #990000"} - Multi-State Models
5354
- Also see [{flexsurv}]{style="color: #990000"}
5455
- Resources

qmd/shiny-general.qmd

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,19 @@
6060
- Comparison with other products ([article](https://www.appsilon.com/post/rshiny-vs-powerbi-vs-spotfire?utm_source=social&utm_medium=mastodon&utm_campaign=blog&utm_term=appsilon-account&utm_content=data-visualization))\
6161
![](_resources/Shiny-General.resources/comp-shiny-powerbi-spotfire-1.png){.lightbox width="532"}
6262
- Alternative Frameworks
63+
- [{]{style="color: #990000"}[RDesk](https://janakiraman-311.github.io/RDesk/){style="color: #990000"}[}]{style="color: #990000"} - A framework for building native Windows desktop applications with R. It turns your logic into a standalone .exe that runs on any machine—no R installation required by the end-user.
64+
- Use Cases
65+
- Data analysts building internal tools that cannot live on a server
66+
- Consultants distributing one-off analysis tools to clients
67+
- Teams replacing Excel macros with proper R-powered apps
68+
- Organisations that need offline, zero-IT-involvement deployment
69+
- Shiny better for: web applications, cross-platform needs, or real-time collaborative tools
70+
- Benefits
71+
- Zero-Port IPC: Native bidirectional pipes between R and the UI. No firewall issues or port conflicts.
72+
- Async by Default: Built-in background task processing via `mirai`. The UI never freezes, even during heavy R computations.
73+
- Portable Runtime: Packages a minimal R distribution into your `.exe`. Your users don’t need to install R.
74+
- Modern Web UI: Use HTML/JS/CSS for the interface while keeping 100% of your logic in R.
75+
- Professional Scaffolding: Generate dashboards with sidebar navigation, Dark Mode, and auto-wired charts in one command.
6376
- [{]{style="color: #990000"}[htmxr](https://cran.r-project.org/web/packages/htmxr/index.html){style="color: #990000"}[}]{style="color: #990000"} ([website](https://htmx.org/)) - A lightweight framework for building server-driven web applications in 'R'. 'htmxr' combines the simplicity of 'htmx' for partial page updates with the power of 'plumber2' for non-blocking HTTP endpoints.
6477
- Shiny maintains one R session per connected user. That session holds all the reactive state — inputs, outputs, intermediate computations — and Shiny decides when to re-evaluate which outputs. This model is powerful and ergonomic, but it means each user consumes a persistent R process.
6578

@@ -68,7 +81,7 @@
6881
- Summary
6982

7083
| | Shiny | htmxr |
71-
|----|----|----|
84+
|------------------------|------------------------|------------------------|
7285
| Communication | WebSocket (persistent connection) | HTTP (request/response) |
7386
| Paradigm | Reactive graph | Explicit HTTP requests |
7487
| UI updates | Shiny decides what to reload | You target the DOM precisely |

scrapsheet.qmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,7 @@ $$
335335
- [{]{style="color: #990000"}[fdars](https://cran.r-project.org/web/packages/fdars/index.html){style="color: #990000"}[}]{style="color: #990000"} - Written in Rust. Provides methods for functional data manipulation, depth computation, distance metrics, regression, and statistical testing. Supports both 1D functional data (curves) and 2D functional data (surfaces).
336336
- [{]{style="color: #990000"}[fkcentroids](https://cran.r-project.org/web/packages/fkcentroids/index.html){style="color: #990000"}[}]{style="color: #990000"} - Functional K-Centroids Clustering Using Phase and Amplitude Components
337337
- [{]{style="color: #990000"}[hdftsa](https://cran.r-project.org/web/packages/hdftsa/index.html){style="color: #990000"}[}]{style="color: #990000"} - High-Dimensional Functional Time Series Analysis
338+
- [{]{style="color: #990000"}[MFSD](https://cran.r-project.org/web/packages/MFSD/index.html){style="color: #990000"}[}]{style="color: #990000"} - Analysis of multivariate functional spatial data, including spectral multivariate functional principal component analysis and related statistical procedures
338339
- [{]{style="color: #990000"}[mlr3fda](https://mlr3fda.mlr-org.com/){style="color: #990000"}[}]{style="color: #990000"} - fda in mlr3
339340
- [{]{style="color: #990000"}[refund](https://cran.r-project.org/web/packages/refund/index.html){style="color: #990000"}[}]{style="color: #990000"} - Methods for regression for functional data, including function-on-scalar, scalar-on-function, and function-on-function regression.
340341
- [{]{style="color: #990000"}[roahd](https://astamm.github.io/roahd/){style="color: #990000"}[}]{style="color: #990000"} - The Robust Analysis of High-dimensional Data package allows to use a set of statistical tools for the exploration and robustification of univariate and multivariate functional datasets through the use of depth-based statistical methods.

0 commit comments

Comments
 (0)