bubble_plot2 | R Documentation |
VPAの結果を受けて,バブルプロット(横軸が年,縦軸が年齢,バブルの大きさと色で値を示す)を生成する
bubble_plot2(
res,
target = "faa",
years = NULL,
fix_ratio = 2,
max_size = 10,
legend_position = "bottom"
)
res |
VPAの出力 |
target |
プロットしたい対象 例)"faa"や"naa" |
years |
プロットしたい年数 デフォルトはNULLで全年.例)1997:1999とすると1997~1999年のみプロット |
fix_ratio |
x軸とy軸のスケールの比.ここが2だと1:1になる |
max_size |
バブルの最大の大きさ |
legend_position |
legendの位置(see 'theme_SH') |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.