Relative Content

Tag Archive for rplotly

Add points over bars in R

When creating a bar plot in plotly, it automatically offsets bars next to one another, but if I add points to the same plot, the points are not offset. How do I offset the points to match the bars?

Plotly: Add points over bars in R

When creating a bar plot in plotly, it automatically offsets bars next to one another, but if I add points to the same plot, the points are not offset. How do I offset the points to match the bars?