Question: To begin this sample analysis, first log in to Codio and select the Module Six Sample Data Analysis Report unit. In this unit, you will
To begin this sample analysis, first log in to Codio and select the Module Six Sample Data Analysis Report unit. In this unit, you will find the following files: dat500_module_six_sample_data_analysis_report.R: This file contains the Rscript code for this sample analysis. You will open this file in RStudio. dat500_module_six_MSFT.csv: Microsoft data for the sample code dat500_module_six_AAPL.csv: Apple data for the sample code Prep Steps: To begin the Module Six Sample Data Analysis, you will need to recreate your Module Four Sample Assessment results as your starting point. Continuing with where we left off in the last sample, the Apple and Microsoft analysis generated the min, max, and average of the price and the change in price. The R script has the code needed to prepare the data for the Module Six analysis. The files can be found in the following directory: ~/workspace/SNHU/DAT-500/Milestones Open the dat500_module_six_sample_data_analysis_report.R Adjust the file path as needed for your file. Highlight the code: o #Read in Files (from Module Four Sample Data Validation and Discovery) o ... o msftPriceChangePctAvg<-mean(msftPriceChangePct) Run the code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
