サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
ドラクエ3
wiki.stdout.org
Problem You want to use colors in a graph with ggplot2. Solution The default colors in ggplot2 can be difficult to distinguish from one another because they have equal luminance. They are also not friendly for colorblind viewers. A good general-purpose solution is to just use the colorblind-friendly palette below. Sample data These two data sets will be used to generate the graphs below. # Two va
Graphs There are many ways of making the same kinds of graphs in R, each with its advantages and disadvantages. The focus here is on the ggplot2 package, which uses a "grammar of graphics" to design graphs, rather than the usual procedural methods. Graphs with ggplot2 Bar and line graphs (ggplot2) Plotting means and error bars (ggplot2) Plotting distributions (ggplot2) - Histograms, density curves
Cookbook for R Welcome to the Cookbook for R (formerly named R Cookbook). The goal of the cookbook is to provide solutions to common tasks and problems in analyzing data. Most of the code in these pages can be copied and pasted into the R command window if you want to see them in action. Basics Numbers Strings Formulas Data input and output Manipulating data Statistical analysis Graphs Scripts and
このページを最初にブックマークしてみませんか?
『wiki.stdout.org』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く