R bloggers

5-minute map

November 19, 2023 | Michael

Clock 10:05 – CC-BY-NC-ND by Bill Dickinson Day 19 of 30DayMapChallenge: « 5-minute map » (previously). Setup library(tidyverse) library(leaflet) library(httr) library(fs) library(glue) Data We reuse the Geonames data from Bad map. gn_file slice_sample(n = 5) Map minute |__ leaflet() |__ addCircleMarkers(popup = ~ glue("{name} ({asciiname}) {country_code}"), label = ~ asciiname, labelOptions = labelOptions(...
[Read more...]

New Package, New Book!

November 18, 2023 | matloff

Sorry I haven’t been very active on this blog lately, but now that I have more time, that will change. I’ve got myriad things to say. To begin with, then, I’ll announce a major new R package, and my new book. qeML package (“quick and easy machine ... [Read more...]

Birds in atmosphere

November 18, 2023 | Michael

Northern Gannet - Morus bassanus – CC-BY by caroline legg Day 18 of 30DayMapChallenge: « Atmosphere » (previously). Thanks to a post from @[email protected] I found a dataset (Warwick-Evans et al. 2017) that could (...
[Read more...]

Flow

November 18, 2023 | Michael

Flow – CC-BY-NC by Sebastian Bender Day 17 of 30DayMapChallenge: « Flow » (previously). Mapping the commuters to Lyon in France. Data comes from INSEE and is part of the national census. library(tidyverse) library(sf) library...
[Read more...]

Statistical Shrinkage (3)

November 18, 2023 | Eran Raviv

Imagine you’re picking from 1,000 money managers. If you test just one, there’s a 5% chance you might wrongly think they’re great. But test 10, and your error chance jumps to 40%. To keep your error rate at 5%, you need to control the “family-wise error rate.” One method is to set ... [Read more...]

Mapping the Ancient World: A Digital Odyssey through Ptolemy’s Geography

November 16, 2023 | Peter Prevos

In the chronicles of cartographic history, few works have captivated the imagination, such as Claudius Ptolemy's "Geography". This monumental second-century creation is the oldest fully preserved theoretical treatise on cartography, written almost 2000 years ago. This article discusses Mapping Ptolemy's Geography with ggplot2. His cartography is not just a collection of ...
[Read more...]

El niño anomaly

November 16, 2023 | Michael

Surf – CC-BY-NC-ND by Al Case Day 16 of 30DayMapChallenge: « Oceania » (previously). Using data from NOAA. Tried different combinations of {terra}/{stars}/{raster} and {ggplot2}/{tmap}/base::plot and between glitches, projecti...
[Read more...]

The Fast and the Curious: Optimizing R

November 16, 2023 | Numbers around us

The Need for Speed in RIn the realm of data science, where the landscape is ever-changing and data volumes are incessantly swelling, speed and efficiency in processing aren’t mere conveniences — they’re indispensable. As we unveil the second chapter of our series, we turn the spotlight onto a crucial ...
[Read more...]

Efficient row min calculation: From R to C

November 15, 2023 | schochastics

My colleague Chung-hong Chan started a new package in our teams GitHub organization. An issue there caught my attention. The performance was very slow of the main function. The issue lay somewhere in the auxiliary functions. This lead me down quite ... [Read more...]
1 11 12 13 14 15 1,915

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)