Question: undefined In performing an analysis you need data. Where do you get the data? You can create data in the R console using data structures

undefined In performing an analysis you need data. Where do you getundefined

In performing an analysis you need data. Where do you get the data? You can create data in the R console using data structures such as vectors, lists, matrices, and data frames. You can read a data file that was created with another program such as Excel. It would be convenient, as we are learning to write programs in R, if practice datasets existed for us to experiment with. Fortunately, there are practice datasets available in R. These data sets are called "built-in" data sets. A Built-in data sets are data sets that are always available to us in the R console without having to issue any type of instruction to make them available. You can see a listing of these built-in datasets by typing the command "data()" in the console pane or by clicking on the word "datasets" in the Packages tab located in your RStudio window. Clicking on "datasets" in the Packages tab will allow you to read more information about each of the built-in datasets. Plot a Graph Using the built-in dataset "cars", plot a histogram using the distance values on the x-axis and a scatter plot using speed on the x-axis and distance on the y-axis. Create the graphs first using the Base graphics functions and then again using the ggplot2 graphics functions. Provide the appropriate x- and y-axis labels (not the default labels) and the main title. Create an R Markdown HTML document containing your code and the fours graphs. Submit the HTML document for this assignment. In performing an analysis you need data. Where do you get the data? You can create data in the R console using data structures such as vectors, lists, matrices, and data frames. You can read a data file that was created with another program such as Excel. It would be convenient, as we are learning to write programs in R, if practice datasets existed for us to experiment with. Fortunately, there are practice datasets available in R. These data sets are called "built-in" data sets. A Built-in data sets are data sets that are always available to us in the R console without having to issue any type of instruction to make them available. You can see a listing of these built-in datasets by typing the command "data()" in the console pane or by clicking on the word "datasets" in the Packages tab located in your RStudio window. Clicking on "datasets" in the Packages tab will allow you to read more information about each of the built-in datasets. Plot a Graph Using the built-in dataset "cars", plot a histogram using the distance values on the x-axis and a scatter plot using speed on the x-axis and distance on the y-axis. Create the graphs first using the Base graphics functions and then again using the ggplot2 graphics functions. Provide the appropriate x- and y-axis labels (not the default labels) and the main title. Create an R Markdown HTML document containing your code and the fours graphs. Submit the HTML document for this assignment

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!