Skip to content

stat_ecdf does not work #2011

Closed
Closed
@danton267

Description

@danton267

Following code creates thousands of squareds of squares, instead of one step-line.

library(plotly)
library(ggplot2)

df <- data.frame(
  x = c(rnorm(100, 0, 3), rnorm(100, 0, 10)),
  g = gl(2, 100)
)

p <- ggplot(df, aes(x)) +
      stat_ecdf(geom = "step")

ggplotly(p)

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions