VIXの値と該当日のS&P500日次収益率の頻度分布を示す。 VIXの値は20を境に切り分けを行う。 切り分けにはcut関数を使用した ...
前回は、「ggplot2によるグラフ その2(Tidy Data)」でした。 内容は、“Tidy Data”とはどのようなものか、どうやって“Tidy Data”へ変換するのかでした。 pivot_longer関数はよく使います。 今回は、ggplot2でグラフを描く方法です。 ≡ グラフの作成 前回の最後の ...
#scale_fill_manual("legend", values = c("A" = "black", "B" = "orange", "C" = "blue" #scale_fill_manual("legend", values=c("Adelie"="red","Gentoo"="purple","Chinstrap ...
データを概観するためには,記述統計量を求めるとともに,グラフを作成して視覚的にデータの特性を捉えることも重要である。一変数の分布を概観するにはヒストグラムや箱ひげ図,変数間の関係を概観するには散布図を描いてみるのが有効。 R本体でも ...
There’s a reason ggplot2 is one of the most popular add-on packages for R: It’s a powerful, flexible and well-thought-out platform to create data visualizations you can customize to your heart’s ...
For everything from styling text and customizing color palettes to creating your own geoms, these ggplot2 add-ons deserve a place in your R data visualization toolkit. Plus, a bonus list of packages ...
In this tutorial we create basic visualizations (histograms and box plots) using R. The purpose of these basic visualizations is to see the distribution of a particular variable. The distribution ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する