Re: [R] ggplot2::geom_path() in a loop problems.

2021-04-24 Thread Jeff Newmiller
Sigh. Don't do this. Setup your data frame with all the data you want to plot and give it to one geom. Use group columns such as factors (e.g. color, size, linetype, etc) to distinguish them. Using multiple geoms with different mappings is usually a recipe for disappointment. It also fails to

[R-es] Consulta

2021-04-24 Thread Notification Team
Buen d�a grupo, Alguien sabe si existe un grupo similar a este, pero donde se pueda hacer preguntas sobre Python. Agradecer�a mucho cualquier direccionamiento. Muchas gracias. [[alternative HTML version deleted]] ___ R-help-es mailing list

[R] [R-pkgs] superb (version 0.9.5.0) released to CRAN

2021-04-24 Thread Denis Cousineau
Dear all, we are happy to announce that the package ``superb`` is now available on CRAN. https://CRAN.R-project.org/package=superb ``superb`` (Summary statistics Plots with adjusted Error Bars) is a package that produces plots of summary statistics with adjusted error bars. These bars are

Re: [R] Still puzzled about different graph

2021-04-24 Thread Martin Møller Skarbiniks Pedersen
> > I don't know where it says this in the docs, but generally speaking > ggplot2 graphs don't evaluate everything until you print them. So I'd > expect p3's two geom_path components to be identical, even though you > changed idx. > > I think you can force evaluation before printing (using

Re: [R] Still puzzled about different graph

2021-04-24 Thread Duncan Murdoch
On 24/04/2021 5:17 p.m., Martin Møller Skarbiniks Pedersen wrote: Hi, Any ideas why I don't get the same graph out of p1 and p3? I have also posted it in the rstudio community without luck. https://community.rstudio.com/t/ggplot2-geom-path-in-a-loop/102716/2 library(ggplot2) df <-

[R-es] salir

2021-04-24 Thread Daniela Herrera Z
salir [[alternative HTML version deleted]] ___ R-help-es mailing list R-help-es@r-project.org https://stat.ethz.ch/mailman/listinfo/r-help-es

Re: [R] ggplot2::geom_path() in a loop problems.

2021-04-24 Thread Martin Møller Skarbiniks Pedersen
On Fri, 23 Apr 2021 at 20:51, Chris Evans wrote: > > I may be quite wrong but isn't the for loop in the second example simply overwriting/replacing the first p2 with the second whereas the p1 version is adding the paths to p1. > > (If you see what I mean, I don't think I have expressed that very

[R] Still puzzled about different graph

2021-04-24 Thread Martin Møller Skarbiniks Pedersen
Hi, Any ideas why I don't get the same graph out of p1 and p3? I have also posted it in the rstudio community without luck. https://community.rstudio.com/t/ggplot2-geom-path-in-a-loop/102716/2 library(ggplot2) df <- data.frame(x = c(0,25,0,-25,0), y = c(25,0,-25,0,25)) p1 <- ggplot() p1 <-

[R-es] gening archivo

2021-04-24 Thread Raul Bartolo Gutiérrez
Alguien sabe como solucionar este problema? Luego de hacer esta corrida con estos datos no me permite seguir y sale en strata Error: Number of rows in data frame not equal to number of individuals in object. -- Raúl Antonio Bartolo Gutiérrez polillagene_Strata.csv Description: MS-Excel