You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A new feature that implemented in the ggboxplot or similar function to support the view of the observation number in the plot. It's useful in many cases for publication-ready plots.
Is it possible to add a new option, e.g., show_number to show the observation number alongside the group text? So the 0.5 would be 0.5 (n=20) or similar. If there are better position for showing the number could also be considered.
ggboxplot(df, x = "dose", y = "len", width = 0.8, show_number = TRUE)
> library(dplyr)
Attaching package: ‘dplyr’
The following object is masked from ‘package:Biobase’:
combine
The following objects are masked from ‘package:BiocGenerics’:
combine, intersect, setdiff, union
The following objects are masked from ‘package:stats’:
filter, lag
The following objects are masked from ‘package:base’:
intersect, setdiff, setequal, union
> df |> group_by(dose) |> tally()
# A tibble: 3 × 2
dose n
<dbl> <int>
1 0.5 20
2 1 20
3 2 20
The text was updated successfully, but these errors were encountered:
Hello.
I am new to the package and under the supervision of @katossky I am willing to solve this issue, as part of an assignment at the ENSAI school of statistical engineering (France). I have read general guidelines from Github and I will try to be as autonomous as possible but I may ask for guidance from now and then. I have a solid background in statistics and a reasonable one in computer science. If any maintainer thinks this issue is too ambitious for a beginner, please tell me so and - if you have time - guide me to a project / issue were my help may be more useful.
Expected behavior
A new feature that implemented in the ggboxplot or similar function to support the view of the observation number in the plot. It's useful in many cases for publication-ready plots.
Actual behavior
I cannot find corresponding options.
Steps to reproduce the problem
Is it possible to add a new option, e.g.,
show_number
to show the observation number alongside the group text? So the0.5
would be0.5 (n=20)
or similar. If there are better position for showing the number could also be considered.The text was updated successfully, but these errors were encountered: