Jump to section
Summary
I am a Senior Scientific Software Engineer at A2-Ai, working where statistical modelling, research software, and product engineering meet. I founded and maintain extendr, the R/Rust bridge, and build open-source infrastructure that turns mathematical models and research prototypes into software other people can run, inspect, and extend. My background includes a PhD in Veterinary Epidemiology, an MSc in Statistics, and more than a decade of scientific computing, research, and teaching.
Highlights
- Founded and maintain extendr and related R/Rust package infrastructure
- Turn statistical and mathematical models into tested, maintainable software
- Combine probability, statistics, and scientific computing with practical engineering constraints
- Communicate across researchers, developers, students, and international collaborators
Experience
Senior Scientific Software Engineer
- Design scientific software that turns statistical and mathematical models into maintainable product workflows
- Translate research prototypes into tested, documented systems across implementation, architecture, and cross-disciplinary collaboration
Postdoctoral Researcher
- Specialised in computational modelling of disease spread, surveillance, and control in an economic context
- Developed modelling software and R packages for applied epidemiological research
External Lecturer
- Taught “Artificial Neural Networks and Deep Learning”
Research Assistant
- Worked on the NordForsk-funded DigiVet project on facilitating registry data between authorities, stakeholders, and citizens
- Coordinated data requirements across multiple stakeholders and improved data quality in research workflows
Lecturer / Researcher
- Conducted research in the Live Game Design project in collaboration with Knowingo+
- Modelled player experience using statistical methods and visualisation
Student Developer
- Developed a serious game in Unity3D and C# for teaching the PRINCE2 project-management methodology
Data Scientist
- Transformed inertial motion sensor data into KPIs describing running technique
- Worked with MATLAB, signal processing, sensor fusion, visualisation, and C# / Xamarin
Teaching Assistant
- Held TA roles across a seven-year span (2011–2018), totalling roughly two years of cumulative teaching alongside studies and other work
- Taught courses in the Department of Mathematical Sciences and the Department of Computer Science, including Databases and Web Programming, Programming and Problem Solving, Databases and Data Mining, Statistical Models in the Natural Sciences, Introduction to Numerical Analysis, Data Analysis, Programming and Modelling, Statistics for Biochemists, and the graduate course in Theoretical Statistics (see Teaching Portfolio for years)
Participant, Kod i Ferien
- Participated twice in Kod i Ferien, a Danish programme comparable to Google Summer of Code
- Planned and implemented a web-backend product using Django and NemHandel
- Worked with open-government initiatives through digitaliser.dk
Student Worker
- Planned and executed meetings, conferences, and related events
- Handled database entry and administrative support tasks
Sales Assistant
Education
PhD in Veterinary Epidemiology
- Modelled the spread of African Swine Fever between wild boar and domestic pigs
- Worked on simulator-based inference, ordinary differential equations, and wildlife-livestock interface problems
MSc in Statistics
BSc in Mathematics
Statistics as study major.
BSc in Science and IT
Specialisation in computational physics.
Publications
Peer-reviewed
- Modelling PRRS transmission between pig herds in Denmark and prediction of interventions impact (2025). doi:10.1016/j.prevetmed.2025.106692
- Choice of landscape discretisation method affects the inferred rate of spread in wildlife disease spread models (2025). doi:10.1016/j.jtbi.2024.111963
- extendr: Frictionless bindings for R and Rust (2024). doi:10.21105/joss.06394
- Social network analysis reveals the failure of between-farm movement restrictions to reduce Salmonella transmission (2024). doi:10.3168/jds.2023-24554
- Using registry data to identify individual dairy cows with abnormal patterns in routinely recorded somatic cell counts (2024). doi:10.1016/j.jtbi.2023.111718
Preprints and submitted
- Assessing the Spatial and Temporal Risk of HPAIV Transmission to Danish Cattle via Wild Birds (2025). arXiv:2504.12432
- Spatial discretisation and anonymisation in R using CORINE land cover data and the hexscape package, with Matt Denwood, Mossa Merhi Reimert, Carlijn Bogaardt, Maya Katrin Gussmann, Carsten Thure Kirkeby and Jess Enright. Submitted to Preventive Veterinary Medicine.
In preparation
- Habitat-centric clustering of wildlife populations: methods and implications for the population dynamics of wild boar, with Mossa Merhi Reimert, Maya Katrin Gussmann, Anette Ella Boklund, Philip Rasmussen and Matt Denwood. In preparation for Ecological Modelling.
Research Software
extendr
Frictionless bindings between R and Rust. Core maintainer of the project and the wider tooling around the R-Rust bridge. Published in JOSS (doi:10.21105/joss.06394) and supported by an R Consortium ISC grant for modern OOP tooling.
miniextendr
A Rust-R interoperability framework for building R packages with Rust backends. Includes ExternalPtr wrappers, ALTREP support, and CRAN-ready packaging.
hexscape
Spatial discretisation and anonymisation in R using CORINE land cover data. Companion to the submitted Preventive Veterinary Medicine manuscript.
Grants
- Accepted by the R Consortium Infrastructure Steering Committee (ISC) for “extendr: Modern OOP tools” (2025), covering the
vctrs/S3 SupportandS7 Supportmilestones
Teaching Portfolio
External Lecturer, Artificial Neural Networks and Deep Learning
- Designed and delivered an upper-division course on artificial neural networks and deep learning for visiting international students
- Covered foundations through modern architectures, with hands-on implementation work alongside the theoretical material
Trial Run, Rcpp for Veterinary Epidemiologists
- Co-taught two modules of an in-house trial run of an Rcpp short course for veterinary epidemiologists
Teaching Assistant
Taught and supported the following undergraduate and graduate courses in the Department of Mathematical Sciences and the Department of Computer Science:
- Databases and Web Programming (2011)
- Programming and Problem Solving (2012/2013, 2013/2014)
- Databases and Data Mining (2013/2014)
- Statistical Models in the Natural Sciences (2013)
- Introduction to Numerical Analysis (2013)
- Data Analysis (2014)
- Programming and Modelling (2014/2015)
- Statistics for Biochemists (2017)
- Theoretical Statistics (graduate course, 2018)
Responsibilities spanned exercise sessions, problem-set design, grading, and one-on-one student support. Roughly two years of cumulative TA work spread across a seven-year span (2011–2018), held alongside studies and other roles.
Conferences
Typst Meetup Berlin 2026
Attended.
Cascadia R Conf 2025
Co-authored workshop material with Josiah Parry for two workshops: “Intro to Rust for R Developers” and “Building Rust based R Packages” using extendr.
Scientific Computing in Rust 2024
Talk: “extendr: Frictionless bindings for R and Rust.” Live and online presentation (10 min). Hosted by organisers from University College London (UK) and University of Colorado Boulder (USA).
GeoVet 2023
Senior oral presentation (20 min + 5 min discussion): “Choice of Landscape Discretisation Affects the Rate of Spread in Wildlife Disease Models.” International Conference of Spatial Epidemiology, Geostatistics and GIS applied to animal health, public health, and food safety.
ISVEE 16
Oral presentation: “An ecological process-based model of wild boar.” 16th International Symposium of Veterinary Epidemiology and Economics.
ModAH 2021
Talk: “Influence of ecological processes within disease models.” Live presentation (webinar). Modelling in Animal Health conference.
Det 41. symposium i anvendt statistik
Attended. statistiksymposium.dk
SAFJR 2019
Attended.
External Roles
- Partner-sponsored developer at A2-Ai in the RSMF-backed project Enabling the Next Generation of Contributors to R
Awards
- Member of the winning team at Aarhus’ COVID-19 Datathon (2021), a weekend-long data-analysis challenge hosted jointly by MIT, Imperial College London, and Aarhus University
Skills
Coursework
MSc in Statistics (2016–2018)
Show courses
- Discrete Models
- Regression
- Project in Statistics
- Advanced Probability Theory 1
- Advanced Probability Theory 2
- Bayesian Statistics
- Causality
- Computational Statistics
- Monte Carlo Methods in Insurance and Finance
- Sparse Learning
BSc in Mathematics (2013–2015)
Show courses
- Discrete Mathematics
- Probability Theory and Statistics
- Algebra 1
- Geometry 1
- Analysis 2
- Measures and Integrals
- Statistics 1
- Statistics 2
- Stochastic Processes
- Graphical Models
BSc in Science & IT (2010–2013)
Show courses
- Introduction to Mathematics for Science
- Modelling in Science
- Linear Algebra in Science
- Programming and Problem Solving
- Analysis 0
- Algorithms and Data Structures
- Databases and Data Mining
- Statistical Models in Science
- Introduction to Numerical Analysis
- Numerical Solution of Differential Equations: Finite Difference Methods
- Project Course: Science and IT
- Philosophy of Computer Science
- Electrodynamics and Waves
- Quantum Mechanics 1
- Introduction to Mechanics and Relativity Theory
- Classical Mechanics
- Thermodynamics and Project
- Electromagnetism
- Analytical Mechanics and Chaos
- Analysis 1
- Mathematics for Physicists
Online Learning
- Completed 110 DataCamp courses, 9 tracks, and 37 projects across R, SQL, machine learning, and statistics (portfolio)
- Completed the Exercism Rust track with 83 problems and iterative review-driven refinement (profile)
Personal
- Father of two
- Avid collector of custom mechanical keyboards

