R News from another blog for R community

Tribonacci sequence

A simplistic puzzle from The Riddler when applying brute force: A Tribonacci sequence is based on three entry integers a ≤ b ≤ c, and subsequent terms are the sum...continue reading.

New Statistics Tutorial

I’ve recently completed fastStat, https://github.com/matloff/fastStat,a quick introduction to statistics for those who’ve had a calculus-based probability course. Many such people later need to do statistics, and this will give them...continue reading.

2022 Hanukkah of Data • Puzzle 2

Ref: https://rud.is/b/2022/12/19/2022-hanukkah-of-data-puzzle-1/ library(tidyverse) cust <- read_csv(“~/Downloads/noahs-csv/noahs-customers.csv”) orders_items <- read_csv(“~/Downloads/noahs-csv/noahs-orders_items.csv”) orders <- read_csv(“~/Downloads/noahs-csv/noahs-orders.csv”) products <- read_csv(“~/Downloads/noahs-csv/noahs-products.csv”) orders_items |> left_join(products) -> oip orders |> left_join(oip) -> orders orders |> filter( 2017 ==...continue reading.