Re: [R] Help needed with getting a decent image of ggplot2 graph

2021-08-24 Thread Jim Lemon
If they can't work out how to resize an image, a 300 dpi resolution leaves you with an image a bit over 37 mm wide. Doesn't add up for me. Jim On Wed, Aug 25, 2021 at 10:00 AM bharat rawlley wrote: > > I tried doing that. > > So the real title of my graph is much longer than men and women and is

Re: [R] Selecting elements

2021-08-24 Thread Jim Lemon
Hi Silvano, I was completely stumped by your problem until I looked through Petr's response and guessed that you wanted the largest sum of 'Var.1" constrained by the specified numbers in your three schemes. I think this is what you want, but I haven't checked it exhaustively. set.seed(123) Var.1 <

Re: [R] unable to install source packages with Rtools installed

2021-08-24 Thread Jim Lemon
Hi Xiaoyu, "non-zero exit status" is just a fancy way of saying something went wrong. An old computing convention is for a function to return zero (FALSE) for success or some positive integer that tells you what the error was. In general, when you have a sequence of interdependent functions or prog

Re: [R] Help needed with getting a decent image of ggplot2 graph

2021-08-24 Thread bharat rawlley via R-help
I tried doing that.  So the real title of my graph is much longer than men and women and isn't not being incorporated in that width.  I think I'll have to settle for a smaller title  Sent from Yahoo Mail on Android On Tue, 24 Aug 2021 at 6:54 PM, Jim Lemon wrote: Ah, an _upper_ limit. Why

Re: [R] Help needed with getting a decent image of ggplot2 graph

2021-08-24 Thread Jim Lemon
Ah, an _upper_ limit. Why not let tiff() work out the resolution (res=NA - the default) and see if that passes muster. Jim On Wed, Aug 25, 2021 at 8:42 AM bharat rawlley wrote: > > I am able to change but the place where I have to submit a similar graph has > kept a fixed upper limit of 440 pix

Re: [R] Query regarding stats/p.adjust package (base) - specifically 'Hochberg' function

2021-08-24 Thread Jim Lemon
This is beginning to sound like a stats taliban fatwa. I don't care if you're using an abacus, you want to get the correct result. My guess is that the different instantiations of the Hochberg adjustment are using different algorithms to calculate the result. The Hochberg adjustment is known to be

Re: [R] Help needed with getting a decent image of ggplot2 graph

2021-08-24 Thread bharat rawlley via R-help
I am able to change but the place where I have to submit a similar graph has kept a fixed upper limit of 440 pixels for the width and an upper limit of 300 for the dpi. On Tuesday, 24 August, 2021, 06:36:16 pm GMT-4, Jim Lemon wrote: Hi bharat, I think there is a conflict between your

Re: [R] Help needed with getting a decent image of ggplot2 graph

2021-08-24 Thread Jim Lemon
Hi bharat, I think there is a conflict between your image size and resolution. You need a lot larger height and width in pixels to get 300 dpi resolution for the whole plot. tiff("test.tiff", units = "px", width = 2200, height = 1250, res = 300) would probably do it for you. How come you can't c

Re: [R] unable to install source packages with Rtools installed

2021-08-24 Thread Bert Gunter
1. Why not installed a pre-built binary for Windows? (No need to reply ... Just saying.) 2. You should post the results of sessionInfo() to better enable others to help you. Also post any error or diagnostic messages you received. Cheers, Bert Bert Gunter "The trouble with having an open mind i

[R] Help needed with getting a decent image of ggplot2 graph

2021-08-24 Thread bharat rawlley via R-help
Hello, I made the following graph in R with the following code. ggplot(aes(x=factor(year), y=percentage, color = Gender, fill=Gender), data = graph_text)+  geom_bar(position = 'dodge', stat='identity')+  theme_classic()+  scale_y_continuous(limits=c(0, 1.4*ymax))+  labs(x= 'Year', y = 'Percentage

Re: [R] Specifying non-linear mixed effects models in R (non-linear DV)

2021-08-24 Thread Bert Gunter
Per the posting guide, statistics issues are generally off topic on this list: "Questions about statistics: The R mailing lists are primarily intended for questions and discussion about the R software. However, questions about statistical methodology are sometimes posted. If the question is well-as

Re: [R] Query regarding stats/p.adjust package (base) - specifically 'Hochberg' function

2021-08-24 Thread Rolf Turner
On Tue, 24 Aug 2021 14:44:55 + David Swanepoel wrote: > Dear R Core Dev Team, I hope all is well your side! > My apologies if this is not the correct point of contact to use to > address this. If not, kindly advise or forward my request to the > relevant team/persons. > > I have a query re

[R] unable to install source packages with Rtools installed

2021-08-24 Thread Xiaoyu Zeng
Hi all. I installed the latest R and Rtools, and I followed the guidelines to test the installation of Rtools (rtools40v2-x86_64.exe for windows10). I verified that *make* can be found, but I still could not install an R package from the source. Any ideas? *More detailed info:* https://github.co

[R] Specifying non-linear mixed effects models in R (non-linear DV)

2021-08-24 Thread Patzelt, Edward
Hi R-Help, Data is below. I used a Kruskal Wallis to compare across 4 study groups for my DV (beta - this is highly non-normal). Now I want to add a covariate (cpz). 1) What package do I use and how do I specify the model? (I tried T.aov from fANCOVA but received a lot of simpleLoess errors) 2)

Re: [R] Query regarding stats/p.adjust package (base) - specifically 'Hochberg' function

2021-08-24 Thread David Swanepoel
Dear Bert, Thanks for your prompt response. I used R-help as it was listed as the contact point in the Description file of the stats package. I'll attempt to find more information from stats.stackexchange.com as suggested and also see if I can figure out the sci.stat.consult and sci.stat.math U

Re: [R] Query regarding stats/p.adjust package (base) - specifically 'Hochberg' function

2021-08-24 Thread Martin Maechler
> Bert Gunter > on Tue, 24 Aug 2021 10:50:50 -0700 writes: > 1. No Excel attachments made it through. Binary > attachments are generally stripped by the list server for > security reasons. > 2. As you may have already learned, this is the wrong > forum for statist

Re: [R] Query regarding stats/p.adjust package (base) - specifically 'Hochberg' function

2021-08-24 Thread Bert Gunter
1. No Excel attachments made it through. Binary attachments are generally stripped by the list server for security reasons. 2. As you may have already learned, this is the wrong forum for statistics or package specific questions. Read *and follow* the posting guide linked below to post on r-help a

Re: [R] Selecting elements

2021-08-24 Thread PIKAL Petr
Hi. Now it is understandable. However the solution is not clear for me. table(Order$Var.1[1:10]) A B C D 4 1 2 3 should give you a hint which scheme could be acceptable, but how to do it programmatically I do not know. maybe to start with lower value in the table call and gradually increse