Mikko Marttila
/
Recent content on Mikko MarttilaHugo -- gohugo.ioen-ukSun, 11 Feb 2018 00:00:00 +0000Blogging: Getting started
/2018/02/11/getting-started/
Sun, 11 Feb 2018 00:00:00 +0000/2018/02/11/getting-started/For a while now, I’ve been thinking about starting a “data science-y” blog. In the aftermath of rstudio::conf this year, I finally decided it was time to act on those thoughts, and put something out there. And Yihui Xie’s blogdown book seemed like a great place to start.
Been meaning to start your own data science blog and work in #rstats? @xieyihui gives some great reasons for why blogging is valuable and the advantages of using blogdown to do so #rstudioconf pic.Blogging: Icons with Font Awesome
/2018/02/18/testing-font-awesome/
Sun, 18 Feb 2018 00:00:00 +0000/2018/02/18/testing-font-awesome/When googling… something1 blogdown related, I stumbled onto some slides from an R-Ladies workshop, where Alison Persmanes Hill goes through the process of setting up a website with blogdown and Hugo. The running example in the slides is the set up of a website for the R-Ladies Portland chapter, and I can assure you that the slides serve as a great tutorial for getting into blogdown, even without being actively presented by Alison!Finding expected values of random variables in R
/2018/02/17/finding-expected-values-of-random-variables/
Sat, 17 Feb 2018 00:00:00 +0000/2018/02/17/finding-expected-values-of-random-variables/Today, I answered a StackOverflow question where the author was implementing a function for finding the mean of a continuous random variable, given its probability density function (PDF).
In the process of writing up my answer, I ended up applying some functional programming techniques (specifically function factories). I also found myself exploring the problem quite far outside the scope of the original question, so I thought the full story would make more sense as a blog post – so here we are!About
/about/
Sun, 11 Feb 2018 00:00:00 +0000/about/Me I’m a recently graduated statistician from Finland, excited about maths, data science, and R. I currently work as a biostatistician in the R&D department at Orion Corporation.
In my spare time, I’m quite active on Stack Overflow, and occasionally work on some personal R package projects on GitHub.
Site This site was built with Hugo, using the blogdown R package by Yihui Xie. The theme was forked from @jrutheiser/hugo-lithium-theme and modified by Yihui Xie.Elegance in functional programming
/2018/02/11/elegance-in-functional-programming/
Sun, 11 Feb 2018 00:00:00 +0000/2018/02/11/elegance-in-functional-programming/As I wrote before, I’m going to be working through some problems that caught my interest in Hadley Wickham’s second edition of Advanced R. I’m starting off with the functional programming chapter, where an exercise that literally made me go “wow” was a major source of inspiration for me to start this blog – I’m talking about Exercise 2 in Section 9.5.1.
The problem itself revolves around the mathematical idea of fixed points of functions, i.