[R] Assistant

2019-10-26 Thread basiru shehu
I am Basiru Shehu by name, wishing to conduct my research base on the multivariate Behrems Fisher problems, please I need your help with a manual that I can use to analyse the data using R. Thanks so much. [[alternative HTML version deleted]]

[R] [R-pkgs] packageRank (v.0.3.0) update

2019-10-26 Thread Peter Li
packageRank: compute and visualize package download counts and rank percentiles * compute and visualize the counts and ranks (nominal and percentile) of downloads from RStudio's CRAN mirror and Bioconductor. * compute and visualize a package's position in the overall distribution of download

Re: [R] ggpubr: order of non-numeric x-axis items

2019-10-26 Thread Bert Gunter
Yes , thanks Deepayan. Darn! -- I've committed this error in the past, also, but keep forgetting. Sigh... the aging brain. -- Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom

Re: [R] ggpubr: order of non-numeric x-axis items

2019-10-26 Thread Patrick (Malone Quantitative)
Thanks, both of you. On Sat, Oct 26, 2019 at 11:55 AM Deepayan Sarkar wrote: > > On Sat, Oct 26, 2019 at 8:22 PM Bert Gunter wrote: > > > > No. relevel() only changes the order in one specific way. Use `levels<-`() > > to reorder in a general way: > > > > > z <- factor(rep(letters[3:1],2)) > >

Re: [R-es] Duda de como contar casos por Programa.

2019-10-26 Thread Carlos Ortega
Hola, Lo puedes resolver de esta forma... He comentado el código para que puedas seguir el resultado de cada etapa. # library(randomNames) library(dplyr) library(tidyr) # Genero nombres aleatorios de "pacientes". ## - Estos son algunos de los que coincidirian nom_coin <-

Re: [R] ggpubr: order of non-numeric x-axis items

2019-10-26 Thread Deepayan Sarkar
On Sat, Oct 26, 2019 at 8:22 PM Bert Gunter wrote: > > No. relevel() only changes the order in one specific way. Use `levels<-`() > to reorder in a general way: > > > z <- factor(rep(letters[3:1],2)) > > z > [1] c b a c b a > Levels: a b c > > z <-relevel(z, ref = "c") > > z > [1] c b a c b a >

Re: [R] ggpubr: order of non-numeric x-axis items

2019-10-26 Thread Bert Gunter
No. relevel() only changes the order in one specific way. Use `levels<-`() to reorder in a general way: > z <- factor(rep(letters[3:1],2)) > z [1] c b a c b a Levels: a b c > z <-relevel(z, ref = "c") > z [1] c b a c b a Levels: c a b > levels(z)<- c("c","b","a") > z [1] c a b c a b Levels: c b a

Re: [R] ggpubr: order of non-numeric x-axis items

2019-10-26 Thread Patrick (Malone Quantitative)
Try using relevel() to organize the categories in your factor in the desired order. You may need to use relevel(as.factor()) . On Sat, Oct 26, 2019 at 6:51 AM April Ettington wrote: > > Hi, > > When I use ggpubr with an x-axis utilizing descriptive categories (eg. bar > chart for different

[R] ggpubr: order of non-numeric x-axis items

2019-10-26 Thread April Ettington
Hi, When I use ggpubr with an x-axis utilizing descriptive categories (eg. bar chart for different colors of car), it sorts all of the labels alphabetically. Is there a way to change this so it shows in the order I want? Thanks, April [[alternative HTML version deleted]]

Re: [R] Matching Values issue

2019-10-26 Thread Rui Barradas
Hello, That's a floating-point issue. See FAQ 7.31. See also [1], [2] and the links therein. [1] https://stackoverflow.com/questions/9508518/why-are-these-numbers-not-equal [2] https://stackoverflow.com/questions/588004/is-floating-point-math-broken Hope this helps, Rui Barradas Às 10:00