Intro to Quantitative Ecology
read.csv()here()mean()head()dim()These questions cover the material in:
You need to download the file week_03_pre_class_2021.csv
from the course GitHub site.
data subdirectory of your main
course RProject directory.You’ll need to install the here package to complete this
assignment.
Hint: remember the install.packages() function?
You’ll be using the following two functions to read data into R:
here()read.csv()I’ve created an updated video tutorial, you can find it here.
There’s also a text walkthrough here. and the original video tutorial is here.
Make sure you have downloaded the data file
week_03_practice_data.csv and saved it to the
data subdirectory of your main course RProject
directory.
data.frame called
my_data in R.NOTE: To receive credit for you answer you must:
here() function to tell R where to find your
data file.data subdirectory.my_data must be a data.frame
object. You will not receive credit if my_data is a
tibble, matrix, or any other data type than
data.frame.data.frame my_data that you
created has ________ rows and ________ columns.“Your data are important.” - Gardener 2014
“Your data are important.” - Gardener 2014
“R has extensive help.” - Gardener 2014
data.frame object in
R?These questions are for your reference, the same questions will appear in the assignment page on Moodle.
You should do your work outside of Moodle, saving your answers in a document and/or R script file.
When you are ready to submit your answers, you can paste your complete responses in the corresponding Moodle question entries for the assignment.