Day: September 10, 2020

How to count by group in R

Counting by multiple groups — sometimes called crosstab reports — can be a useful way to look at data ranging from public opinion surveys to medical tests. For example, how did people vote by gender and age group? How many software developers who use both R and Python are men vs. women?

There are a lot of ways to do this kind of counting by categories in R. Here, I’d like to share some of my favorites.

For the demos in this article, I’ll use a subset of the Stack Overflow Developers survey, which surveys developers on dozens of

Read More

How to create crosstab reports in R

Hi. I’m Sharon Machlis at IDG Communications, here with Episode 52 of Do More With R: Crosstabs.

Crosstab reports summarize data by two or more variables. For example: How did people vote on Ballot Question 1 broken down by gender and age group. There are a few ways to generate a crosstab report in R; I’d like to show you some of my favorites.

For this demo I’ll use a subset of the Stackoverflow Developers survey, with columns for Languages, Gender, and if they code as a hobby. I also added a LanguageGroup column for whether a developer reported using

Read More

Apple is seeking damages from Epic over Fortnite ban

It was sure nice to have a few days off from the Epic Games vs Apple conflict, wasn’t it? But grab your popcorn and maybe a fresh pretzel, because the show is not over. Now Apple is seeking damages from Epic’s breach of contract, and responded to Epic’s recent requests that it be forced to reinstate Fortnite. This is a juicy one, I’m not going to lie.

If you want to see where this whole mess got started, I recommend reading this, this, or this. Long story short: Epic tried to get around the App Store payment system within

Read More