Trelliscopeのオプション

RのTrelliscopeでビッグデータを可視化する

Ryan Hafen

Author, TrelliscopeJS

Trelliscopeのオプション

facet_trelliscope() と trelliscope() には、表示出力を制御するオプションがあります:

  • 表示を保存するディレクトリ
  • 同一ディレクトリへの複数表示の保存
  • 表示の詳細な説明の提供
  • プロットのアスペクト比
  • デフォルトのビューアー状態の指定
RのTrelliscopeでビッグデータを可視化する

出力ディレクトリの指定

trelliscope(dat, path = "...", ...)

ggplot(...) + ... + facet_trelliscope(path = "...", ...)

RのTrelliscopeでビッグデータを可視化する
trelliscope(by_symbol,
  name = "candlestick_top500",
  desc = "Candlestick plot of the 500 most-traded NASDAQ stocks in 2016",
  md_desc = "
## Candlestick Plot
A [candlestick plot](https://en.wikipedia.org/wiki/Candlestick_chart)
is a financial plot...
..." )

RのTrelliscopeでビッグデータを可視化する

プロットのアスペクト比

RのTrelliscopeでビッグデータを可視化する

プロットのアスペクト比

RのTrelliscopeでビッグデータを可視化する

プロットのアスペクト比

trelliscope(dat, width = 600, height = 300, ...)

ggplot(...) + ... + facet_trelliscope(width = 600, height = 300, ...)
RのTrelliscopeでビッグデータを可視化する

デフォルトのビューアー状態

trelliscope(dat, state = ..., ...)

ggplot(...) + ... + facet_trelliscope(state = ..., ...)
RのTrelliscopeでビッグデータを可視化する

練習しましょう!

RのTrelliscopeでビッグデータを可視化する

Preparing Video For Download...