开发者

How to import data and create a scatter plot in R?

开发者 https://www.devze.com 2023-03-25 21:48 出处:网络
I have 334 records, with two columns: Column (1): Resolution Column (2): Number of images with a specific resolution

I have 334 records, with two columns:

  • Column (1): Resolution
  • Column (2): Number of images with a specific resolution

How can I make a scatter plot in R with this data? Is there a way to import the records, since it will be time consuming to enter 334 re开发者_开发技巧cords?


If you do not know how to get data into R nor create a scatterplot, it sounds like you are very new to R.

You might want to use a program that lends a hand.

  • rstudio has a Workspace - import dataset menu; I'd recommend Rstudio, particularly if you are very new to R.
  • Rcmdr also has GUI options for getting data into R

As always Quick-R provides a helpful starting point:

  • importing data
  • scatterplots

More generally, it sounds like you need to spend some time with some introductory instructional material on R. Here are my suggested startings points.

0

精彩评论

暂无评论...
验证码 换一张
取 消