Consider displaying stats on plots

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

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

評価

難易度
3/5
見積もり時間
半日
初心者へのやさしさ
64/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
r

調査の方向性

Start by listing the exported plotting functions in the CroPlotR package (look at NAMESPACE and the R/ directory) to find which ones take a subtitle or could take a new stats argument. Read how ggplot2 subtitles are currently constructed, and check the existing test suite for plot snapshots so you know how output is verified. Done looks like: a stats argument (accepting a summary() result) renders the metric string as a subtitle, documented in man/ via roxygen, with a test covering the new argument.

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

説明

enhancement

Description

Consider adding support for displaying summary statistics directly on CroPlotR plots.

The idea would be to add a new argument (e.g. stats) to the relevant plotting functions. This argument could typically receive the output of a summary() function and the statistics would then be displayed along with the plot.

Two approaches could be considered:

  1. Display statistics inside the plotting area
  • This would provide a compact and direct visualization.
  • However, it may be difficult to automatically adjust the font size and positioning to avoid overlapping with the data.
  1. Display statistics as a subtitle
  • This would avoid interfering with the plotting area.

The second option may therefore be preferable.

Example

A possible output could be a plot with a subtitle such as:

RMSE = 0.42 | rRMSE = 8.3% | R² = 0.91 | Bias = -0.05

主要言語
R
スター
1
フォーク
3
平均マージ
9時間 41分
マージ済み PR(30日)
2

環境構築

はじめの一歩

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

SticsRPacks/CroPlotR のほかの issue

SticsRPacks/CroPlotR の issue をすべて見る

似ている issue

R の issue をもっと見る

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

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