2025
Note: Interactive Data Visualization for R
The interactive web app development in R requires multiple relevant skillsets: HTML, CSS, Javascript, R, and Shiny etc. This is a reading note covering the following books:
`htmltools`: Play with Tachyons
With multiple classes, class
argument in tags can be a vector.
Note: Docker in Action, Second Edition
“Docker is a tool that makes adopting software packaging, distribution, and utilization best practices cheap and sensible defaults.”
2024
VSCode & Quarto Setup, Current Status and Questions
To render and preview, execute the Quarto: Preview command. You can alternatively use the Cmd+Shift+K
keyboard shortcut.
Serveless Shiny App on Quarto Website
Creating a Serverless R Shiny App using Quarto with R Shinylive ("Include" method)
This post shows case one example of new package – litedown
from Yihui Xie. Please refer to the Yihui’s documentation for more details.
Simulate response patterns under the framework of IRT
We need to pre-specify a
(item slopes) and b
(item intercepts). mu
(factor mean) and sigma
(factor correlation) are optional.
Create a ChatGPT chatbot for personal website
AI products powered by Large language models (LLM) are getting more and more popular in many field. AI agents using ChatGPT can serve as an assistant or efficient workers…
Note: Model fits in confirmatory network analysis of PanelVAR modeling
Assume there are n_i items measured by n_t times, then there are n_v = n_t \times n_i. For example, if 3 items are measures by 3 times, there will be 9 measures. Following…
Large-Scale Assessments using EdSurvey R Package
W_{final} = \frac{1}{P_{school}*P_{student}*P_{adj}}
How to choose network analysis estimation for application research
Multiple estimation methods for network analysis have been proposed, from regularized to unregularized, from frequentist to Bayesian approach, from one-step to multiple…
This post illustrates how to use Julia to create a gradient descent algorithm. What has not been introduced, however, is how to perform the data analysis using Julia in…
Observable JS in Quarto document
The documents regarding how to use Observable Javascript in Quarto is extremely lacking. Two main sources for this topic are quarto.org and quarto dashboard.
This happens when I want to pull the remote repo to local but I have some random changes at local. Those random changes should be discarded but using git pull
makes those…
How to use BGGM to Estimate Bayesian Gaussian Graphical Models
This is a quick note illustrate some importance functions of BGGM
and illustrate them using one or more example(s).
Setting up the cursor movement keys in iTerm2 on OSX
This orginal post is from here.

Customize Zotero and Visual Mode of Rstudio
Visual model of quarto and rmarkdown is very easy to use. Though users can change font family for Source mode in Rstudio by Options
menu, there is no direct way change font…
Use High Performance Computing UArk
My student Nicole recently hosted a excellent workshop on how to use HPC interactively at UArk. Please refer to her website here.
2020
This post is inspired by themockup’s blog and RStudio’s documentation of gt
package1.