how would you build a scatter-plot using plotly?
Answer / Shubham Goel
```Rnnlibrary(plotly) n# create scatter plot datanscatter_data <- data.frame(x = c(1, 2, 3, 4), y = c(5, 6, 7, 8)) n# create the plotnplot_ly(scatter_data, x = ~x, y = ~y) n```
| Is This Answer Correct ? | 0 Yes | 0 No |
How to create axes in the graph?
What are R applications of R clustering?
Explain how to generate lists in r?
What is an arbitrary function in r?
Which packages are used to store and restore R objects to and from a file in R language?
Why the stepaic()?
What is the use of abline() function?
What is a graphic device?
Give some examples of the functions in stringr.
How can you create a pca model in r?
Explain general format of matrices in r?
What is the difference between rnorm and runif functions ?