Posts by Leo • 49 points
4 posts
-
-1
votes1
answer32
viewsQ: How to paint a graph in r from a specific value?
x <- seq(0, 15, length.out=10000) dat <- data.frame(x=x, px=dexp(x, rate = 1/5 )) library(ggplot2) ggplot(dat, aes(x=x, y=px)) + geom_line() I’d like to paint this chart from the value 10,…
-
2
votes1
answer46
views -
1
votes1
answer40
viewsQ: How do I do a repeat structure function on R?
I’m trying this way: H <- function(n) { for (i in 1:length(n)) { x <- 0 a <- 2 b <- 3 func = x + a/b a+2 b+2 return(func) } } Does anyone know how to solve?…
-
1
votes1
answer36
viewsQ: Demand forecast for many items
Good afternoon, folks. I’d like to hear your opinion on the following: I am working in an e-commerce company, which has more than 1000 items for sale, and each item of this, has a series of daily…