We use cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.
# strange behavior when adding these really small, strange (?) numbers:my_tib %>%ggplot(aes(x = beta, y = value_strange, fill = name)) +geom_area() +facet_grid(cols =vars(lambda)) +scale_x_continuous(trans ='log10')
# expected behavior when x axis is not on log-scalemy_tib %>%ggplot(aes(x = beta, y = value_strange, fill = name)) +geom_area() +facet_grid(cols =vars(lambda))
# expected behavior when only the 1's are plotted and the 0's are omittedmy_tib %>%filter(name =='I') %>%ggplot(aes(x = beta, y = value_strange, fill = name)) +geom_area() +facet_grid(cols =vars(lambda)) +scale_x_continuous(trans ='log10')
# can't reproduce strange behavior with random numbers - what makes the other numbers so strange that `geom_area` produces weird results?set.seed(1)my_tib$value_strange_2 <- my_tib$value +runif(nrow(my_tib), -1e-10, 1e-10)my_tib %>%ggplot(aes(x = beta, y = value_strange_2, fill = name)) +geom_area() +facet_grid(cols =vars(lambda)) +scale_x_continuous(trans ='log10')