# r4ds:ggplot2

2023-11-17

Hadley Wickham This website us the ggplot visulization sections of Hadley Wickham’s book 2nd edition of “R for Data Science”. … Read more →

1

# R Outout Gallery

2023-08-29

This is a minimal example of using the bookdown package to write a book. The HTML output format for this example is bookdown::gitbook, set in the _output.yml file. [...] This bookdown includes some interesting table and figure examples. It can be used as a manual of ggplot2, DT, ... Read more →

2

# 数据科学中的 R 语言

2023-07-18

This book is an overview of how practitioners can acquire, wrangle, visualize, and model data with the R and Stan. […] 你好，这里是四川师范大学研究生公选课《数据科学中的R语言》的课程内容。R语言是统计编程的第一语言，近几年Tidyverse的推出大大降低了R语言的学习难度。Tidyverse是一系列R包的集合，包含了dplyr、ggplot2、tidyr、stringr等，从数据导入预处理，再到高级转化、可视化、建模和展示。因为其代码清晰可读的编程风格，得到越来越多人的喜爱。考虑到大家来自不同的学院，有着不同的学科背景，因此讲授的内容不会太深奥（要有信 … Read more →

3

# Statistical rethinking with brms, ggplot2, and the tidyverse: Second edition

2023-01-26

This book is an attempt to re-express the code in the second edition of McElreath’s textbook, ‘Statistical rethinking.’ His models are re-fit in brms, plots are redone with ggplot2, and the general data wrangling code predominantly follows the tidyverse style. […] This ebook is based on the second edition of Richard McElreath’s (2020a) text, Statistical rethinking: A Bayesian course with examples in R and Stan. My contributions show how to fit the models he covered with Paul Bürkner’s brms package (Bürkner, 2017, 2018, 2022j), which makes it easy to fit Bayesian regression models in R (R … Read more →

4

# Doing Bayesian Data Analysis in brms and the tidyverse

2023-01-26

This project is an attempt to re-express the code in Kruschke’s (2015) textbook. His models are re-fit in brms, plots are redone with ggplot2, and the general data wrangling code predominantly follows the tidyverse style. […] Kruschke began his text with “This book explains how to actually do Bayesian data analysis, by real people (like you), for realistic data (like yours).” In the same way, this project is designed to help those real people do Bayesian data analysis. My contribution is converting Kruschke’s JAGS and Stan code for use in Bürkner’s brms package (Bürkner, 2017, 2018, 2022g), … Read more →

5

# Statistical rethinking with brms, ggplot2, and the tidyverse

2023-01-25

This project is an attempt to re-express the code in McElreath’s textbook. His models are re-fit in brms, plots are redone with ggplot2, and the general data wrangling code predominantly follows the tidyverse style. […] I love McElreath’s (2015) Statistical rethinking text. It’s the entry-level textbook for applied researchers I spent years looking for. McElreath’s freely-available lectures on the book are really great, too. However, I prefer using Bürkner’s brms package (Bürkner, 2017, 2018, 2022i) when doing Bayesian regression in R. It’s just spectacular. I also prefer plotting with … Read more →

6

# Programming and Applied Data Visualization with R

2022-09-27

Q: What is your experience with looking at data analysis code you have written 2 years earlier? Comment your code Use meaningful names! A “new” package dplyr written by Hadley Wickham/Romain Francois replaces many old functions for data management Functions in dplyr are highly performant (big data!) and consistent See this page for an excellent overview and the Data Wrangling Cheat Sheet What could the following functions be used for? Hadley Wickhams ggplot2 Package developed into a powerful alternative to the default plot() function. Its goal is to simplify complex plots (e.g. take care of … Read more →

7

# An Introduction to ggplot2

2022-09-24

A ggplot2 Tutorial […] Hi! Data Visualization is one of the important steps of the data analysis process. It is actually not only part of the data analysis, but also can be considered as an art. R Programming language provides a powerful visualization package to us, ggplot2. This book aims to show how you can make a well-known statistical plots by using ggplot2, and also how you can improve or customize them. The book is created by the lab notes of statistical computing (STAT 291-STAT 292) of Ozancan Ozdemir. For your opinions and suggestions, please send me an e-mail to … Read more →

8

# Data Integration, Manipulation and Visualization of Phylogenetic Trees

2022-07-13

Master ggtree package suite to handle tree with data. […] I am so excited to have this book published. The book is meant as a guide for data integration, manipulation and visualization of phylogenetic trees using a suite of R packages, tidytree, treeio, ggtree and ggtreeExtra. Hence, if you are starting to read this book, we assume you have a working knowledge of how to use R and ggplot2. The development of the ggtree package started during my PhD study at the University of Hong Kong. I joined the State Key Laboratory of Emerging Infectious Diseases (SKLEID) under the supervision of Yi Guan … Read more →

9

# Úvod do analýzy údajov pomocou R

2022-05-11

Základy jazyka R a úvod do Data Science: prieskumná analýza, transformácia údajov (dplyr), vizualizácia (ggplot2), čistenie údajov (tidyr), interaktívne grafy (htmlwidgets, shiny, …), komunikácia (RMarkdown), efektívne programovanie (parallel, RCpp, RSQLite). […] I don’t think anyone actually believes that R is designed to make everyone happy. For me, R does about 99% of the things I need to do, but sadly, when I need to order a pizza, I still have to pick up the telephone. (Roger D. Peng, r. 2004) Tento citát vystihuje univerzálnosť softvérového nástroja R1. Tak ako u viacerých „open … Read more →

10

# An(other) introduction to R

2022-02-07

This is a gentle introduction to R and the basic usage of some tidyverse packages (dplyr, tidyr, ggplot2, forcats, stringr) for data manipulation and visualization. […] Dear student, in the following, you will receive a gentle introduction to R and how you can use it to work with data. This tutorial was heavily inspired by Richard Cotton’s “Learning R” (Cotton 2013) and Hadley Wickham’s and Garrett Grolemund’s “R for Data Science” (abbreviated with R4DS). The latter can be found online (Wickham and Grolemund 2016). We will not immediately start out with the packages from the tidyverse … Read more →

11

# Data Visualization for Conservation

2021-07-20

This book contains all the content for, and information relevant to, the Data Visualization for Conservation course (7 July - 20 July 2021). […] Welcome to the Data Visualization for Conservation course! In this course we are going to be talking about data visualisation or ‘dataviz.’ We will spend time talking about the importance of data visualisation, learning how to produce custom visualisations using the ggplot2 package, as well as an important theory of data management and storage. The path of learning is never-ending, and we do not want you to imagine that this course can teach you … Read more →

12

# Introduction to R (Part 2)

2021-02-16

A document for Intro to R workshop (part 2) video […] In the next two chapters, we will learn how to manipulate and visualize data. We will use tidyverse packages (mainly dplyr, ggplot2, and tidyr) for easier and faster data manipulation/visualization. First, install and load the tidyverse by running: * Visit https://www.tidyverse.org/ to learn more about the … Read more →

13

# 三國志で学ぶデータ分析 (Japan.R 2019)

2021-01-14

“三国志を題材にしたRを使ったデータ分析のチュートリアル” […] この記事は 2019/12/7 に開催された Japan.R の発表原稿をもとに作成した資料である. この記事の目的は2つ. ここでいう「データ分析」とは, なるべく複雑高度なテクニックを乱用せず必要最小限の方法で何かを言おうというものである. 今回の「データ分析」はスクレイピングによるデータ取得, データの加工整形, 要約統計量の計算, グラフによる視覚化, というよくあるデータ分析のアプローチであり, 使っているパッケージもrvest(スクレイピング), tidyrと dplyr(データの加工整形),ggplot2(グラフ作成)など様々な場面で使われるRの代表的なパッケージばかりで, … Read more →

14

# R 資料科學與統計

2020-10-29

R 資料科學與統計 […] R 可視為統計數學軟體, 也是一種程式語言, 而近年來的發展, R 更成為資料科學的熱門的工具之一. R 是一個免費的統計分析軟體 (open-source, GNU General Public License), R 由一群跨國際的志工人員組成的 {R} 核心發展組織 (R core-development team) 所維持, 運作與持續更新發展. 目前對初學者的 R 入門學習有二大主要論點, 一為學習使用 R Base 原始語言與原始套件, 二為直接學習外部套件, 如 ggplot2, tidyverse 系統. 無論哪一種方式各有其優缺點. 個人認為對未來必須經常性使用 R 進行資料分析工作的初學者, 則建議先學習使用 R Base 原始語言. 對於未來僅在少數時間必須使用 R 進行資料分析工作, 或是僅在統計學上課使用, 則建議學習 … Read more →

15

# Basic R Guide for NSC Statistics

2020-10-23

This is an R guide for statistics course at NSC. […] This guide’s primary focus is on Basic R. When graphics are involved, command functions in both Basic R and a package called ggplot2 will be shown. Graph enhancements will be kept to a minimum. Although there are R packages that may do the same or better job than Basic R, this tutorial will not delve into those packages. Exploring other packages will be left for the student to look into, if the student so wishes. Datasets will be taken mostly from those built into R. Since this is mainly a tutorial on the R commands necessary to do … Read more →

16

# 교육용 프로그래밍 Home Work 1

2020-09-28

This is a minimal example of using the bookdown package to write a book. The output format for this example is bookdown::gitbook. […] Using the mpg dataset in the ggplot2 package, replicate the plot below using the following settings: Answer … Read more →

17

# 교육용 프로그래밍의 이해

2020-09-26

This is first homework for knowledge of programming for education. The output format for this document is bookdown::gitbook. […] Using the mpg dataset in the ggplot2 packages. replicate the plot below using the following settings … Read more →

18

# Statistical Rethinking with brms, ggplot2, and the tidyverse

2019-05-05

This project is an attempt to re-express the code in McElreath’s textbook. His models are re-fit in brms, plots are redone with ggplot2, and the general data wrangling code predominantly follows the tidyverse style. […] I love McElreath’s Statistical Rethinking text. It’s the entry-level textbook for applied researchers I spent years looking for. McElreath’s freely-available lectures on the book are really great, too. However, I prefer using Bürkner’s brms package when doing Bayeian regression in R. It’s just spectacular. I also prefer plotting with Wickham’s ggplot2, and coding with … Read more →

19

# An Incomplete Solutions Guide to the NIST/SEMATECH e-Handbook of Statistical Methods

2019-02-16

Analysis of case studies and exercies with a focus on using the tidyverse and ggplot2. This handbook was created using the bookdown package in RStudio. The output format for this example is bookdown::gitbook. […] Exploratory Data Analysis (EDA) is a philosophy on how to work with data, and for many applications, the workflow is better suited for scientist and engineers. As a scientist, we are trained to formulate a hypothesis and design a series of experiments that allow us to test the hypothesis effectively. Most data, however, doesn’t come from carefully controlled trials, but from … Read more →

20

# Visualization

2018-12-27

This is a book on data visualization using ggplot2 created for the Stanford Data Challenge Lab. […] This is a … Read more →

21

# Meu log de leitura de R for Data Science

2018-05-01

Meu log de leitura de R for Data Science […] Se tem alguma pessoa que pode ser considerada um “pop star” do R, seria o Hadley Wickham: o cara é responsável pelo ggplot2 e pelo dplyr, que são alguns dos pacotes mais populares do R! Mas são justamente pacotes que eu quase não uso… :( Deixe eu explicar melhor. Eu sou usuário do R há muitos anos (fiz as contas de cabeça enquanto eu escrevo, e se não me enganei, agora em 2018 seriam uns 13 ou 14 anos!), então já tem um bocado de tempo que aprendi a como resolver (e ensinar) algumas coisas. Até aí tudo bem. Acontece que o Hadley trouxe uma … Read more →

22

# ggplot2 介紹

2018-04-21

ggplot2 介紹 […] hypothes.is: https://hypothes.is/groups/eBBqEGde/minicourse-ggplot2 要在hypothes.is貼上程式碼時，請依下例張貼： ggplot2 cheatsheet Computing for the Social Sciences, U.Chicago. ggplot2part of the … Read more →

23

# ggplot2逆引き集

2016-11-20

これはggplot2逆引き集です。 […] これはQiitaで公開されているggplot2逆引きの記事を集めたものです。今のところ，@kazutanが作成した12本をまとめています。 なにかありましたら，以下のGithubリポジトリのissueもしくはTwitterの@kazutanまでおねがいします。 … Read more →

24

# Introduction to Data Science

2023-11-30*

This book introduces concepts and skills that can help you tackle real-world data analysis challenges. It covers concepts from probability, statistical inference, linear regression and machine learning and helps you develop skills such as R programming, data wrangling with dplyr, data visualization with ggplot2, file organization with UNIX/Linux shell, version control with GitHub, and reproducible document preparation with R markdown. Read more →

25

# Modern Data Visualization with R

2023-11-30*

This is an illustrated guide for creating data visualizations in R. […] This is the online version of “Modern Data Visualization with R”, to be published by CRC Press. A print version is will be available from Amazon later this year. R is an amazing platform for data analysis, capable of creating almost any type of graph. This book helps you create the most popular visualizations - from quick and dirty plots to publication-ready graphs. The text relies heavily on the ggplot2 package for graphics, but other approaches are covered as well. My goal is make this book as helpful and … Read more →

26