Question: Create an R script that includes the following following steps as outlined in the Required Readings for the week: Return the working directory Display the

Create an R script that includes the following following steps as outlined in the Required Readings for the week:
Return the working directory
Display the search path
Using the library() command, list out the sample datasets that are included with the R and R-Studio installation
Run a help command on one of the sample datasets
Use the summary() command to generate descriptive statistics
Use the R built-in function to return the first few records of your sample dataset.
Use a hist() command to create a histogram of one of the sample datasets
Use library() command to use the pastecs library, and then use the stat.desc(DATASET) to generate more advanced descriptives using the library

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 Programming Questions!