Sort This Dataset Blindfolded
Let’s be like the magicians throwing daggers at audience members while blindfolded, and see how well we do when we have to process data without seeing the whole dataset.
Attached is coordinate data, and even worse, its got missing pairs of coordinates.
Write code to read in this dataset, convert the coordinate data to a numeric array with three dimensions, cleans the dataset of coordinate pairs that are missing from any samples, and then sorts the data by the first x coordinate. Don’t worry about the group variable, but you might want to label the array with the sample IDs.
Please upload this code as a plain-text file, such as an R script. I’ll run it on the full dataset and we’ll see what happens. If it runs without error, you get full credit (10/10). If it mostly runs but it runs into a bug or two, you’ll get 8/10. If the code doesn’t get off the ground at all, or the code doesn’t even adequately try to take into account the steps that you needed to account for, you’ll get 0 - 7, depending on how much is understandable about what you were trying to get the code to do. In other words, please use copious amounts of commenting!
6 years ago
15
- english assignment
- 3–5 page paper, identify and describe the state of four major problems of domestic violence by comparing present-day American society to that of at least four other cultures
- 2 Discussion Questions
- BSHS 332 Week 3 Individual Assignment Update on Agency Visit Paper
- BSHS 325 Week 5 Individual Macro Systems Paper
- Write an Introduction Paragraph
- Lab03
- history for perfecttute
- BIS 318 Week 2 Individual Assignment Effectiveness of Technology Paper
- AJS 522 Medicaid Programs