Bigmatrix - FIFA World Cup 2014 - IT Assignment Help

Download Solution Order New Solution
Assignment Task:

20201006113407AM-961398455-1676455525.png

Problem 2: Go to folder “Data” on Blackboard and find the dataset “bigmatrix”. 

1. Use the function read.table to import the matrix stored in “bigmatrix” into R. Make sure you assign it to some variable for further usage. It will take a couple of seconds for R to read it. 

2. Use the function dim to report the number of rows and the number of columns of the matrix. 

3. Report the means of the first 10 columns (so we have 10 means). (Hint: Indexing the submatrix first then use function colMeans ) 

4. Report the maximum of first 10 rows (so we have 10 maximums). (Hint: Indexing the submatrix first then use function apply ) 

Problem 3: The famous data set iris which gives the measurements in centimeters of the variables sepal length and width and petal length and width, respectively, for 50 flowers from each of 3 species of iris is available in R. Type iris directly to see what it looks like. 

1. Selecting the observations (rows) whose Species are setosa. 

2. Selecting the observations whose Speices are either versicolor or virginica. 

3. Selecting the observations whose Sepal.Length are greater than 4.5 but less than 6.0. 

4. Combine the data frames you got in part 1 and part 3 to one data frame. 

5. Obviously there are some duplicated observations in the data frame you obtained in part 4. Use the command ?unique to learn the usage of the function unique and then utilize it to remove duplicated rows from the data frame you obtained in part 4. 

 

This IT Assignment has been solved by our IT Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.

Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.