title: How can I combine a line and scatter on same plotly chart?
body: <p>The two separate charts created from data.frame work correctly when created using the R plotly package.<br>
  However,
  I am not sure how to combine them into one (presumably with the add_trace function)</p>
  
  <pre><code>df &lt;- data.frame(season=c("2000","2000","2001","2001"), game=c(1,2,1,2),value=c(1:4))
  
  plot_ly(df, x = game, y = value, mode = "markers", color = season)
  plot_ly(subset(df,season=="2001"), x = game, y = value, mode = "line")
  </code></pre>
  
  <p>Thanks in advance</p>