Consider displaying stats on plots

Đang mở
#173 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
64/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
r
Lĩnh vực
data-visualization

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
R
Star
1
Fork
3
Merge trung bình
9 giờ 41 phút
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của SticsRPacks/CroPlotR

Tất cả issue của SticsRPacks/CroPlotR

Issue tương tự

Thêm issue về R

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.