Personal code snippets of @tmasjc

Site powered by Hugo + Blogdown

Image by Mads Schmidt Rasmussen from unsplash.com

Minimal Bootstrap Theme by Zachary Betz

Introduction to Bayesian Analysis
Oct 2, 2022

Metaprogramming Example
Jun 2, 2021 #metaprogramming

Safe Function Using Base R
May 21, 2021

Higher Order Function in Js
Feb 15, 2021 #fp #js

Spurious Correlaton: A Simple Demonstration
Jun 27, 2020

Funnel Visualization w/ Waffle Chart
Jun 14, 2020 #ggplot2 #datavis

Spam Attack: A Yule Process Simulation
May 6, 2020 #stochastic

STM Package Walkthrough Part Two
Apr 5, 2020 #topic-model #stm

STM Package Walkthrough Part One
Apr 3, 2020 #topic-modal #stm

Puzzle: The Riddler Mar 06 - Guess Who
Mar 19, 2020 #monte-carlo

Puzzle: The Riddler Feb 21 - Coin Flipping Madness
Mar 13, 2020 #monte-carlo #dynamic

Visualizing Cumulative Growth of COVID-19 Cases by Day
Mar 12, 2020 #eda #time-series

Puzzle: In A Village Where People Only Want Boys
Feb 29, 2020 #monte-carlo #dynamic

Wrangling Messy Data for D3 Time Series
Feb 25, 2020 #dplyr #json

EDA: A Survey into Market Risk Premium
Feb 23, 2020 #finance

Puzzle: Blackjack Simulation
Feb 19, 2020 #monte-carlo

Snippet: Trigger Dingtalk Robot
Nov 10, 2019 #httr #webhooks

EDA: Is James Harden been given special treatment?
Oct 6, 2019 #datavis

Streaming Data From Database to Shiny
Jul 2, 2019 #shiny #database

Dynamic UI in Shiny
Jun 20, 2019 #shiny #rlang

RFM Model Timelapse
May 19, 2019 #gganimate #ggplot2

Puzzle: Biased Coin Toss
Apr 21, 2019 #monte-carlo

Exercise: Sales Forecast using MCM
Apr 9, 2019 #monte-carlo

Rowwise Operation
Mar 24, 2019 #plyr #data.table

EDA: Curry’s Streaking Hot Hand
Mar 16, 2019 #monte-carlo

Monty Hall Problem in R
Mar 15, 2019 #monte-carlo

Puzzle: Pokemon Card Game
Mar 10, 2019 #monte-carlo

Simulate Customer Retention
Feb 28, 2019 #survival

Simulate Tossing Coin Game
Feb 24, 2019 #monte-carlo

Simple Bayesian
Jan 20, 2019 #bayesian

Pseudo R Squared
Nov 26, 2018 #descr

Map + Reduce in Purrr
Oct 31, 2018 #purrr

Programming in dplyr - Row Filtering
Oct 28, 2018 #dplyr #tidyeval

Script to add a page-level variable to content front matter in hugo
Oct 10, 2018 #hugo #command-line #awk

Programming in dplyr - Column Manipulation
Sep 7, 2018 #dplyr #tidyeval

Vlookup Snippet in Command Line
Aug 6, 2018 #shell

Check Binary True / False Columns
Aug 5, 2018 #purrr

Split Data Frame into Smaller Chunks
Aug 2, 2018 #mysql

Dixon Q-Test
Jun 25, 2018 #outliers

Twelve-Factor App
Jun 12, 2018 #saas

Random Grouping by Int Division
Jun 12, 2018 #math

Application Configuration into Docker Container
Jun 8, 2018 #Docker

Compute by Matrix Column
Apr 10, 2018 #matrix

Cleaning Messy Data
Mar 8, 2018 #dplyr

parDist
Feb 9, 2018 #parallelDist

Data.Table
Feb 9, 2018 #data.table

Labels Detection w/ Google Cloud Vision
Feb 5, 2018 #httr #gcp

Bar, Bended Bar, and Treemap
Jan 21, 2018 #ggplot2 #drivethru

reactiveVal(ues)
Jan 17, 2018 #shiny #reactive

Hello World!
Jan 16, 2018 #general

Creating a New Theme
Sep 28, 2014 #hugo #theme #command-line

Getting Started with Hugo
Apr 2, 2014 #hugo #git #fun

(Hu)go Template Primer
Apr 2, 2014 #go #templates #hugo

Migrate to Hugo from Jekyll
Mar 10, 2014 #hugo #jekyll #migration #git #templates