RSSAmplifier

Blog

emi tanaka

Emi Tanaka's website and blog that mainly features about statistics, data science, R and academia.

emitanaka.orgRSS feed ↗18 posts

Latest posts

Exploring Data from ANU Research Portal

Data Source The ANU Research Portal provides a list of researchers and their affiliations at ANU. From this portal, I extracted 2,370 profiles along with their affiliations and if available their Scopus ID on 8th June 2025 (what does one do over the King’s birthday long weekend otherwise…). After some cleaning, I subset to 1,880 profiles of ANU researchers who have either a Dr or Professor in…

Final lecture at Monash University

Since I started working at the Department of Econometrics and Business Statistics, Monash University in January 2020, I developed and taught across 4 units , totalling development of 36 unique 2-hour lectures , and developed an online resource on top of slide templates and utility scripts . The 3 units ( Wild-Caught Data , Exploratory Data Analysis , and Communicating with Data ) I taught were…

Getting the most out of your experimental data with design

Introduction Experimental data are hallmarks of proving or disproving theories or hypotheses. Not all experimental data are of equal value however; the design of experiment and the execution to collect data greatly shape its downstream value. The seminal book by Fisher (1935) outline the importance of randomisation, replication and (statistical) control in experimental designs motivated primary by…

Affective colors in data visualisation

Bartram, Patra, and Stone (2017) conducted an experiment where participants were required to select 5 colors from a pool of available colors to make a 5 color palette for a bar plot or map on a white background based on a set of emotive words, specifically “calm”, “disturbing”, “exciting”, “negative”, “playful”, “positive”, “serious” and “trustworthy”. The result of this experiment presented in…

edibble experimental design with sensory discrimination tests

This blog post attempts to describe the experimental design in Williams et al. (2021) for sensory discrimination test on vegemite using the edibble R package. Detailed descriptions are provided in Williams et al. (2021) and I only provide an abridged version in this blog, except where quoted. First, I load the packages needed. The edibble package is currently only available on GitHub at…

How to transition from xaringan to Quarto revealjs

Background I first used the xaringan R-package to make HTML slides in late 2016 when I saw Yihui’s tweet about it. It wasn’t until the beginning of 2018 that I fully switched from Beamer/Powerpoint/Keynote 1 presentation slides to using xaringan . Four years later, after over 120 xaringan slides 2 plus making a whole theme for it, I started using Quarto revealjs slides instead from the start of…

Academic ranks

Australia Australia (Research focussed) New Zealand North America UK Associate Lecturer Research Associate Assistant Lecturer Lecturer Research Fellow Lecturer Assistant Professor Lecturer Senior Lecturer Senior Research Fellow Senior Lecturer (+over the bar) Associate Professor Senior Lecturer Associate Professor Principal Research Fellow Associate Professor Professor Reader/Principal Lecturer…

To new beginnings

After being office-less for 10 days (technically 4 days not counting public holidays and weekends), many of us in the Menzies building have safely moved yesterday to our temporary offices in Building 6 while Menzies undergo renovations for the next 2+ years (anyone wanna bet it’ll take more than 2 years or not?). My old office had a pretty nice view of the hex wall but I don’t know where it is…

Maximum potential

When I read books, I almost exclusively read non-fiction books only. One of the books that left a strong impression on me is “Outliers” by the journalist, Malcolm Gladwell, that I read back in 2016. The name of the book sound awfully statistical but it’s definitely not like the statistic journal articles I read. Ice hockey talent In the beginning of the book, Gladwell presents a hockey player…

War

The war that’s going on at Ukraine is terrible. There are now over 1.3 million people who have fled Ukraine since the Russian invasion , many who would be living as refugees now in neighboring countries. The closest to war I have ever been is when the Japanese embassy told (warned?) my family to get out of Jordan during the Gulf War. We lived in Greece during this period. When I lived in Greece, I…

simulate: proof of concept R-package

This blog post shows a proof of concept for a simulation framework, wrapped into (undocumented) R-package simulate . Let’s take the penguins data from the palmerpenguins package as an example data. You can see the form of the data below if you’re not familiar with it. library (tidyverse) library (palmerpenguins) library (simulate) theme_set ( theme_bw ()) set.seed ( 2022-02-24 ) str (penguins)…

Colorblind checks for qualitative palettes

Function to generate plot for colorblind friendly check library (ggplot2) library (farver) library (colorspace) check_colorblindness <- function (colors, ncol = 3 , label = TRUE ) { ncolors <- length (colors) nrow <- ceiling (ncolors / ncol) cond <- c ( "Original" , "Deutan" , "Protan" , "Tritan" ) ncond <- length (cond) df <- data.frame ( color = c (colors, deutan (colors), protan (colors),…

Manipulating arrays with dynamic dimensions in R

Introduction to array s in R Below I am creating an array of dimensions with each entry containing a unique value. x <- array ( 1 : 24 , dim = c ( 3 , 2 , 4 )) x , , 1 [,1] [,2] [1,] 1 4 [2,] 2 5 [3,] 3 6 , , 2 [,1] [,2] [1,] 7 10 [2,] 8 11 [3,] 9 12 , , 3 [,1] [,2] [1,] 13 16 [2,] 14 17 [3,] 15 18 , , 4 [,1] [,2] [1,] 19 22 [2,] 20 23 [3,] 21 24 class (x) [1] "array" You can access the entry ,…

Are anime titles getting longer?

Click Me to see all code in this article. You can also find the link to the source Rmd file at the footer. library (tidyverse) ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.1 ── ✔ ggplot2 3.3.6 ✔ purrr 0.3.4 ✔ tibble 3.1.8 ✔ dplyr 1.0.9 ✔ tidyr 1.2.0 ✔ stringr 1.4.0 ✔ readr 2.1.2 ✔ forcats 0.5.1 ── Conflicts ──────────────────────────────────────────…

Current state of R packages for the design of experiments

Click Me to see all code in this article. You can also find the link to the source Rmd file at the footer. library (tidyverse) ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.1 ── ✔ ggplot2 3.3.6 ✔ purrr 0.3.4 ✔ tibble 3.1.8 ✔ dplyr 1.0.9 ✔ tidyr 1.2.0 ✔ stringr 1.4.0 ✔ readr 2.1.2 ✔ forcats 0.5.1 ── Conflicts ──────────────────────────────────────────…

Drawing a UML Sequence Diagram

A sequence diagram , as described in wikipedia , shows objects interactions arranged in time sequence. One of the standards for drawing this is using the Unified Modelling Language (UML) managed by the Object Management Group (OMG). UML was developed in the field of software engineering to provide a standard way to visualise the design of a system. It’s a language that describes standards for all…

My Travel Schedule 2019: Building an interactive visualisation as twitter card

Hovering over the above graph will show you more details. This year I have a fair bit of travel scheduled including: Eco Sta 2019 at Taichung, Taiwan, ISI WSC 2019 at Kuala Lumpur, Malaysia, YSC 2019 at Canberra, Australia, and Biometrics by the Botanic Garden 2019 at Adelaide, Australia. If you happen to be going to the same conference as myself, do get in touch and maybe you can pay for my taxi?…

Making a Hexagon Sticker

Making hexagon stickers have become popular for R-packages with the range of packages associated with RStudio, such as ggplot2 , knitr , devtools and so on, having its own hex stickers . This trend even spanned a R-package hexSticker that can be found here . Powerpoint template for hex stickers For the sticker that I made for my R-package shinycustomloader , I found it easier, partly due to its…