Posts

In a previous post, I wrote about reading and writing data to file while retaining the structure and attributes of the data (i.e., data …

One of the areas of expertise at Cramer Fish Sciences is watershed and habitat restoration. In the context of that work, we are often …

In a previous post, I wrote a function to perform repeated timings of untyped and typed versions of the same Racket functions. #lang …

In a previous post, I wrote that Racket’s if is similar to ifelse in R. That’s not quite right. This is a short post to clarify the …

On my journey to learn Racket, I look for small pieces of R code to try to implement in Racket. A blog post about speeding up …

R makes it easy to generate random numbers from a wide variety of distributions with a consistent interface. For example, runif, rnorm, …

When programming in R, I generally pass data around by reading and writing text files (typically, CSV files). The ubiquity of CSV files …

The Delta Simulation Model II (DSM2) is a hydrodynamic model used for Sacramento-San Joaquin Delta planning and management. When …

When building a simulation model in R, I might want to group related input parameters into a data structure. For example, in a life …

I have recently started learning Racket. For a first task, I tried to build a simple age-structured population model. I hit a stumbling …