Non-density ridglines (e.g., smoothed time-series)

オープン
#393 コメント 3 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
r

調査の方向性

type_ridge() の実装から始め、density が x の値と smoothing 引数をどのように扱うかを確認します。提案されている時系列のユースケースを、リンク先の ggridges の例と比較し、その後 ksmooth と density のカーネルオプションを評価してから、新しいオプションとその完全な動作をどのように定義すべきかを決めます。

索引モデルが issue の本文から書いたものです。

説明

Should we add an option to type_ridge() whereby, instead of enforcing a density calculation over x, we just take the smoothed y values across the raw values of x?

A canonical use case would be plotting time series. (This is actually the case that came up for me at work today, hence motivating the issue here.) SO ggrides example along these lines: https://stackoverflow.com/questions/63265979/ggridges-with-time-series-r

If implemented, we'd need to decide what smoothing function to use. While ksmooth seems a natural choice, I worry that (a) it produces too much variability and (b) it only supports a subset of the kernels that density does (so we'd need some internal logic to head off argument mismatches). Maybe we roll our own simple kernel smoother?

主要言語
R
スター
430
フォーク
24
平均マージ
14時間 17分
マージ済み PR(30日)
8

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

grantmcdermott/tinyplot のほかの issue

grantmcdermott/tinyplot の issue をすべて見る

似ている issue

R の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。