I\'m trying to add_trace ad each loop, but I get only one plot with multiplies lines on over each other.
mean <- -0.0007200342 sd <- 0.3403711 N=10 T
It is described here : http://www.r-graph-gallery.com/129-use-a-loop-to-add-trace-with-plotly/
save your plot in a variable, and then do add_trace :
p <- plotly(...) p<- add_trace(p, ...)