Skip to content

Commit e0bb2ee

Browse files
committed
adding suggestion for discrete style
1 parent 21f9c02 commit e0bb2ee

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

R/ppc-discrete.R

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@
5555
#' as a point range with uncertainty intervals along with dots
5656
#' representing the `y`.
5757
#'
58-
#' The y-axis represents the square roots of the counts to
59-
#' approximately adjust for scale differences and thus ease comparison between
60-
#' observed and expected counts. Using the `style` argument, the rootogram
61-
#' can be adjusted to focus on different aspects of the data:
58+
#' The y-axis represents the square roots of the counts to approximately
59+
#' adjust for scale differences and thus ease comparison between observed
60+
#' and expected counts. Using the `style` argument, the rootogram can be
61+
#' adjusted to focus on different aspects of the data:
6262
#' * _Standing_: basic histogram of observed counts with curve
6363
#' showing expected counts.
6464
#' * _Hanging_: observed counts hanging from the curve
@@ -68,6 +68,9 @@
6868
#' * _Discrete_: a dot-and-whisker plot of the median counts and
6969
#' dots representing observed counts.
7070
#'
71+
#' As it emphasizes the discrete nature of the count data,
72+
#' using `discrete` style is suggested.
73+
#'
7174
#' **All of the rootograms are plotted on the square root scale**. See Kleiber
7275
#' and Zeileis (2016) for advice on interpreting rootograms and selecting
7376
#' among the different styles.

man/PPC-discrete.Rd

Lines changed: 7 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)