Assignment 1

Please complete the following problems.

Remember:

Data

Load in the data you will need as follows:

data(vegdata1, vegdata2,  package = "edcpR")

Part 1

Extract the following values from the vegdata1 dataset:

Make sure

Part 2

Merge vegdata1 and vegdata2 into one data frame. Store your result in my_data_frame. Hint: the resulting dataframe has 144 rows.

Part 3

Use the package “dplyr” to only select rows containing data from Grassland from your merged data frame. Store your result in my_grassland.

Submit your work

Save your R-script as Surname-FirstName-assignment-1.R. Upload this on Toledo before October 6th, 12:00 noon in the assignments folder!