bubble_plot2: VPAの結果を受けて,バブルプロット(横軸が年,縦軸が年齢,バブルの大きさと色で値を示す)を生成する

View source: R/rvpa.r

bubble_plot2R Documentation

VPAの結果を受けて,バブルプロット(横軸が年,縦軸が年齢,バブルの大きさと色で値を示す)を生成する

Description

VPAの結果を受けて,バブルプロット(横軸が年,縦軸が年齢,バブルの大きさと色で値を示す)を生成する

Usage

bubble_plot2(
  res,
  target = "faa",
  years = NULL,
  fix_ratio = 2,
  max_size = 10,
  legend_position = "bottom"
)

Arguments

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')


ichimomo/frasyr documentation built on Dec. 11, 2023, 12:50 a.m.