On reddit somebody asked For n individuals, what's the probability that the last person to pick during a round of Secret Santa name picking, will pick their own name.. "With each person picking in turn, and re-picking if they pick out th...

R news and tutorials contributed by (552) R bloggers

On reddit somebody asked For n individuals, what's the probability that the last person to pick during a round of Secret Santa name picking, will pick their own name.. "With each person picking in turn, and re-picking if they pick out th...

Nowadays there are many trading strategies shared online with reproducible, decent, results. Have you asked yourself, if the strategies are so profitable, why the author bother even sharing them, when the path to riches is clear – just implement the strategy and use it? There are people, of course, who are fascinated and challenged by

This entry is part 10 of 12 in the series Using RIn an introductory post on R APIs to C code, Calling C Code ‘Hello World!’, we explored the .C() function with some ‘Hello World!’ baby steps. In this post … read more ...

In today’s XKCD, a pair of (presumably) physicists are told by their neutrino detector that the sun has gone nova. Problem is, the machine rolls two dice and if they both come up six it lies, otherwise it tells the truth. The Frequentist reasons that the probability of obtaining this result if the sun had

Today at Davis R Users’ Group, Rosemary Hartman took us through her work in progress fitting general additive models to organism presence/absence data. Below is her presentation and script. You can get the original script and data here Also, check the comments below for some discussion of other options for this type of analysis, such as...

Farming equipment manufacturer John Deere uses R, and in yesterday's webinar their manager of forecast analytics, Derek Hoffman, explained what they use it for: In the presentation, Derek gave a spirited argument of why R is critical for John Deere's operations: from forecasting demand for equipment, to forecasting crop yields (they produce forecasts for more than half the world's...

Introduction Zhang and Imhoff (2010) pdf here utilized NLCD impervious surface area (ISA), Olson biomes, and MODIS Land Surface temperature (LST) to estimate the magnitude of UHI in large cities across the US. Peng employed a similar approach in studying 419 large cities ( population greater than 1m ) around world. Peng’s work suggests a limit or

This video explains how to overlay histogram plots in R for 3 common cases: overlaying a histogram with a normal curve, overlaying a histogram with a density curve, and overlaying a histogram with a second data series plotted on a … Continue reading →Video: Overlay Histogram in R (normal, density, another series) is an article from