简体   繁体   English

如何导入数据并在R中创建散点图?

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

I have 334 records, with two columns: 我有334条记录,有两列:

  • Column (1): Resolution 第(1)栏:决议
  • Column (2): Number of images with a specific resolution 列(2):具有特定分辨率的图像数

How can I make a scatter plot in R with this data? 如何使用此数据在R制作散点图? Is there a way to import the records, since it will be time consuming to enter 334 records? 有没有办法导入记录,因为输入334条记录会很费时间?

If you do not know how to get data into R nor create a scatterplot, it sounds like you are very new to R. 如果您不知道如何将数据导入R也不知道如何创建散点图,那么听起来您对R来说是一个新手。

You might want to use a program that lends a hand. 您可能想要使用一个伸出援助之手的程序。

  • rstudio has a Workspace - import dataset menu; rstudio有一个Workspace - import dataset菜单; I'd recommend Rstudio, particularly if you are very new to R. 我推荐Rstudio,特别是如果你是R的新手。
  • Rcmdr also has GUI options for getting data into R Rcmdr还具有用于将数据导入R的GUI选项

As always Quick-R provides a helpful starting point: 一如既往,Quick-R提供了一个有用的起点:

More generally, it sounds like you need to spend some time with some introductory instructional material on R. Here are my suggested startings points . 更一般地说,听起来你需要花一些时间在R上的一些介绍性教学材料。这是我建议的起点

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM