タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

ggplot2に関するbob3のブックマーク (2)

  • plotting bar graphs in R using ggplot2

    I have a data frame called toplot_noind as shown below. > toplot_noind Chang.1 Chang.2 Chang.3 Chang.4 Chang.5 Chang.6 Chang.7 Chang.8 18 150.3 84.61 31.45 11.08 -0.19 -57.83 -88.63 -98.39 I would want to use this data frame to plot a bar graph using ggplot2. I do not need the column names: Chang.1, Chang.2, etc., in the graph. I want these 8 values 150.3, 84.61, ..., -98.39 to appear on the y-axi

    plotting bar graphs in R using ggplot2
    bob3
    bob3 2011/05/31
    数字入り棒グラフ
  • ggplot2のqplot関数のまとめ - ぬいぐるみライフ?

    Rのステキグラフィックスライブラリ「ggplot2」のqplot関数についてまとめてみた.少し頑張りすぎた. 関連記事:ggplot2の概要 - ぬいぐるみライフ? qplot関数とは ggplot2にはqplot(Quick PLOTの略)というステキな関数が用意されている.これを使うと,デフォルトの設定のままでもRのbaseライブラリ(plot関数など)と比べてきれいな図が描ける上に,色付けや凡例の設定もある程度よしなにやってくれる. 以降,ggplot2のqplot関数について詳しく見ていくことにしよう. この記事の構成 最初に,qplot関数について以下のことをチェックする. qplot関数の基 qplot関数のdataパラメータ 次に,以下のグラフについてbaseライブラリとggplot2のqplot関数の間でシンタックスの違いや描画されるグラフを比較していく. 散布図 折れ線

    ggplot2のqplot関数のまとめ - ぬいぐるみライフ?
    bob3
    bob3 2011/03/06
  • 1