I have 334
records, with two columns:
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
records?
In RStudio, click on “Import Dataset” and choose “From Text File.” Choose the csv file in which you saved the table. In the window that will preview your data, name your data frame “att”. To begin making the plot, choose the data frame and set the aesthetics to the variables to be included in the plot.
Select the data you want to plot in the scatter chart. Click the Insert tab, and then click Insert Scatter (X, Y) or Bubble Chart. Click Scatter. Tip: You can rest the mouse on any chart type to see its name.
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.
Workspace - import dataset
menu; I'd recommend Rstudio, particularly if you are very new to R.As always Quick-R provides a helpful starting point:
More generally, it sounds like you need to spend some time with some introductory instructional material on R. Here are my suggested startings points.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With