2023

Population growth

February 10, 2023 | Michael

I just saw this article in Le Monde : « a pair of cats can produce 20,000 individuals in just four years ». (translation) That seems quite high… Let’s check! (additionally, the article is about feral cats preying on wildlife but we are shown a wild cat capturing a laboratory mouse!) This figure ... [Read more...]

tikzDevice v0.12.4

February 9, 2023 | R on Ralf Stubner

Yesterday tikzDevice version 0.12.4 made it unto CRAN and is now propagating to the mirrors. The tikzDevice package provides a graphics output device for R that records plots in a LaTeX-friendly format. The device transforms plotting commands issued b... [Read more...]

The Mandelbulb in R

February 7, 2023 | Stéphane Laurent

In this post, I provide some R code which generates a mesh of the Mandelbulb, a well-known 3D fractal. The Mandelbulb is an isosurface, and I use the rmarchingcubes package to get a mesh of ... [Read more...]

Using chatGPT in the teaching of R

February 7, 2023 | Karsten W.

I am currently focalising an introductory course in programming with R within my organisation. We use datacamp.com as a resource and meet online once a week to share. This week my input was an interaction with chatGPT, see below. My impression is tha... [Read more...]

Subsetting Named Lists in R

February 6, 2023 | Steven P. Sanderson II, MPH

Introduction In R, lists are a fundamental data structure that allows us to store multiple objects of different data types under a single name. Often times, we want to extract certain elements of a list based on their names, and this can be acco... [Read more...]

Top 10 errors in R and how to fix them

February 6, 2023 | R on Stats and R

Introduction 1. Unmatched parentheses, curly braces, square brackets or quotes 2. Using a function that is not installed or loaded 3. Typos in function, variable, dataset, object or package names 4. Missing, incorrect or misspelled arguments in fun...
[Read more...]
1 2 3 4 9

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)