Martin,
Yes, I should have test it earlier. Thank you for the response!
With best wishes,
Alexey
чт, 2 июл. 2020 г. в 22:30, Martin Maechler :
>
> > Alexey Shipunov
> > on Wed, 1 Jul 2020 23:58:04 +0900 writes:
>
> > Dear colleagues,
> > There is a new problem with dotchart(
> Alexey Shipunov
> on Wed, 1 Jul 2020 23:58:04 +0900 writes:
> Dear colleagues,
> There is a new problem with dotchart(), and it is very simple to
reproduce.
> Just run example(dotchart).
> On R versions < 4, group labels ("Urban Female" and so on) were
> visib
Dear colleagues,
There is a new problem with dotchart(), and it is very simple to reproduce.
Just run example(dotchart).
On R versions < 4, group labels ("Urban Female" and so on) were
visible. Now they are not visible.
If in the dotchart() code, we replace the string
===
goffset <- (max(linc
Dear Martin,
Great news, thanks!
If you wish, please also consider my initial note about help(hist),
this is definitely worrying new R users.
With best wishes,
Alexey
пт, 13 мар. 2020 г. в 02:16, Martin Maechler :
>
> > Alexey Shipunov
> > on Tue, 18 Feb 2020 14:34:48 +0900 writes:
> Alexey Shipunov
> on Tue, 18 Feb 2020 14:34:48 +0900 writes:
> Thank you for the detailed explanation. I tend to agree. However, this
> behavior is relatively easy to remediate:
> This is the piece of the current code:
> ===
> if (!(is.null(labels) && is.null(g
Thank you for the detailed explanation. I tend to agree. However, this
behavior is relatively easy to remediate:
This is the piece of the current code:
===
if (!(is.null(labels) && is.null(glabels))) {
nmai <- par("mai")
nmai[2L] <- nmai[4L] + max(linch + goffset, ginch) + 0.1
On Mon, Feb 17, 2020 at 10:24 AM Rui Barradas wrote:
>
> Hello,
>
> Yes, this is definitely a bug.
I would argue that the only bug here is that the documentation doesn't
say that 'ylab' may not behave as expected.
dotchart() is mainly designed for 2-way tables (see the VADeaths
example), but it'
Hello,
To move to r-devel just send email to r-de...@r-project.org.
See
https://stat.ethz.ch/mailman/listinfo/r-devel
Rui Barradas
Às 04:59 de 17/02/20, Alexey Shipunov escreveu:
My suggestion (shipunov::Dotchart1()) was:
===
yinch <- if (!is.null(ylab)) 0.4 else 0
# inserted!
i
Dotplot is for raw data. You are giving it summarized data. I don't think it is
appropriate to expect dotplot to undo your summarization for you in order to
plot it.
On February 16, 2020 9:37:07 PM PST, Alexey Shipunov
wrote:
>P.S.
>
>I like also to defend my initial approach. Many help files
P.S.
I like also to defend my initial approach. Many help files said that:
?pie: "Pie charts are a very bad way of displaying information. ... A
bar chart or dot chart is a preferable way of displaying this type of
data."
?barplot: "See Also: ... ‘dotchart’ ..."
?dotchart: "... Dot plots are a
My suggestion (shipunov::Dotchart1()) was:
===
yinch <- if (!is.null(ylab)) 0.4 else 0
# inserted!
if (!(is.null(labels) && is.null(glabels))) {
nmai <- par("mai")
nmai.2.new <- nmai[4L] + max(yinch + linch + goffset, ginch) +
0.1 # changed!
if (nmai.2.new > nmai[
Hello,
Yes, this is definitely a bug.
Even the matrix plot is puzzling, with a "1" as top row sort-of-label
but no grid line. I'm trying to follow the source code of dotchart but
am yet to understand exactly what it does to decide the margins settings.
if (!(is.null(labels) && is.null(gla
John and Rui, thanks!
However, if we use the proper object, the problem still persists:
dotchart(c("3"=1, "2"=2, "1"=3), ylab="Ylab") # ylab is invisible
dotchart(c("aa"=1, "b"=2, "cc"=3), ylab="Ylab") # ylab is partly visible (!!!)
dotchart(c("aaa"=1, "bbb"=2, "ccc"=3), ylab="Ylab") # ylab is we
Hello,
I believe you are wrong, the error is not in dotchart, it's in your
code. You assume that to plot an object of class "table" is the same as
to plot an object of class "numeric".
Inline.
Às 12:21 de 16/02/20, Alexey Shipunov escreveu:
Dear list,
I have been advised to share these wit
Try aa <- as.matrix(table(c(1, 1, 1, 2, 2, 3)))
dotchart(aa, ylab="Ylab")
It may wock
On Sun, 16 Feb 2020 at 07:22, Alexey Shipunov
wrote:
> Dear list,
>
> I have been advised to share these with R-help instead of filling the
> bug report:
>
> 1) dotchart() does not allow to see the left axis t
Dear list,
I have been advised to share these with R-help instead of filling the
bug report:
1) dotchart() does not allow to see the left axis title ('ylab') and
cannot change the left margin (outer margin 2) of the plot
The code:
aa <- table(c(1, 1, 1, 2, 2, 3))
dotchart(aa, ylab="Ylab") # doe
16 matches
Mail list logo