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
Thanks Rui,
I had looked at the scale_continuous functions and found the help
overwhelming. But thanks for the information: `labels` works the same
as it does in axis() and `breaks` is what I needed to correspond to the
`at` argument.
Regards
Patrick
On 2020-02-17 11:31, Rui Barradas wro
Thanks for your suggestion and code.
Puja
On Sun, Feb 16, 2020 at 5:23 PM Rui Barradas wrote:
> Hello,
>
> Your error is that you are not plotting the values in your file
> See what is in df, it's one column only with 3 character strings,
> c("Young_Control", "Young_Treated", "CHG_methylation"
Hello,
In ggplot2, to set the placement and labels of the axis use
?scale_x_continuous
?scale_y_continuous
and similar functions. The arguments you would want are 'breaks' and
'labels'.
Then you can further customize with ?theme. Arguments such as axis.text
or axis.ticks are what you would
Hello,
Your error is that you are not plotting the values in your file
See what is in df, it's one column only with 3 character strings,
c("Young_Control", "Young_Treated", "CHG_methylation"). Those *are not*
the names of columns, they are just strings.
The right way of doing it is to reshape
Dear Abby,
I am very happy to report that the three lines you added have
completely solved the problem. It is great to me. I have, for the past
one week, approached the problem from various angles without much
success.
Thank you.
Warmest regards
Ogbos
On Sun, Feb 16, 2020 at 9:30 PM Abby Spurdle
What do you think these two statements do?
df <- data2
df <- data.frame(var=c("Young_Control", "Young_Treated", "CHG_methylation"))
I suggest you stop what you're doing and spend time with an R tutorial or
two before proceeding.
Bert Gunter
"The trouble with having an open mind is that people k
Hi All,
I have data in excel with the following details:
CHG_methylation Young_Control Young_Treated
0-10% 95.23 94.53
10-20% 3.71 4.16
20-30% 0.68 0.8
30-40% 0.18 0.22
40-50% 0.07 0.09
50-60% 0.04 0.06
60-70% 0.02 0.04
70-80% 0.02 0.03
80-90% 0.02 0.03
90-100% 0.04 0.05
I am trying to plot the gr
Using base R graphics I can customize the position of the tick marks and
what text to label them by using the axis function and adjusting the
`at` and `labels` parameters respectively.
What theme setting do I adjust using ggplot2 graphics to achieve a
similar result?
TIA
Patrick
__
The data are different sizes.
(As I suggested in my first post).
The turnpoints function removes "ex-aequos".
Replace the following:
--
minima<-which(tp$pit & data$residual<= 20)
-
With:
--
pits = rep (FALSE, nrow (data) )
pits [tp$pos] = tp$pits
minima<-which(pits & data$residual<=
I think the Posting Guide would call this the wrong mailing list for this
question: should be on R-package-devel.
On February 16, 2020 3:03:55 AM PST, "Servet Ahmet Çizmeli"
wrote:
>I am updating my CRAN package geoSpectral. I get the following Warning
>during R CMD check :
>
>...
>* checking f
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
When something similar happened to me I found it went away when I added
Suggests:
to the DESCRIPTION file. Whether this will work for you I have no idea.
Michael
On 16/02/2020 11:03, Servet Ahmet Çizmeli wrote:
I am updating my CRAN package geoSpectral. I get the following Warning during R
C
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 Abby,
I have run your code with the generated data. Thanks.
The first script still runs OK while the second script had the same
issues with your generated data (it could not identify the pits).
I will try to attach the data, OULU05. The head and tail of the data are:
year month day counts
I am updating my CRAN package geoSpectral. I get the following Warning during R
CMD check :
...
* checking for unstated dependencies in �tests� ... WARNING
'library' or 'require' call not declared from: �geoSpectral�
All the .R files I have under the testhat directory begin by :
library(ge
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
Dear Abby,
Thank you. I will look at your stimulated data and then run the code with
it.
But since I am dealing with real data and also have volumes of it, I would
like to send my real data to you.
The OULU05 is attached with dput function. It is labeled Ogbos_dput. I
would be surprised if it
22 matches
Mail list logo