Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how would you build a scatter-plot using plotly?



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

Post New Answer

More R Programming Interview Questions

Name some functions available in “dplyr” package.

1 Answers  


Explain how to read data or a matrix from a file?

1 Answers  


What is correlation? How would you measure correlation in r?

1 Answers  


Explain how to create a function in arguments using apply() in r?

1 Answers  


What is r vector?

1 Answers  


How would you find out the mean of one column with respect to another?

1 Answers  


Name the functions which helps in importing data from other applications in R?

1 Answers  


What is recursion in r?

1 Answers  


Explain the concept of principal component analysis?

1 Answers  


What is bootstrapping in r?

1 Answers  


How to create the s3 class?

1 Answers  


What is the rattle package in r?

1 Answers  


Categories