Use the preparation materials to prepare hand-written answers for the following questions. Please ask any questions on the "Questions -- Preparation Guide" on the course Team (see link on the homepage.)
- What function in R is used read an external CSV file into RStudio?
- What function in R is used to create a data.frame that contains only some (i.e., a subset of) individuals from a larger data.frame?
- What symbol must be used in the condition statement of
filterD()
to obtain all individuals with a variable equal to some specific value (e.g., all plants that are wilted)? - What symbol must be used in the condition statement of
filterD()
to obtain all individuals with a variable NOT equal to some specific value (e.g., all plants that are not wilted)? - What symbol must be used in the condition statement of
filterD()
to obtain all individuals with a variable greater than or equal to some specific value (e.g., all plants that are at least 33 cm tall)? - What symbol must be used in the condition statement of
filterD()
to obtain all individuals with a variable that is contained in a set of specific values (e.g., all plants that are either red, orange, or yellow)? - What is the $ used for in R?
- What are square brackets (following an object name) used for in R?
- How do you select one specific variable from a data.frame?
- How do you select one specific individual from a data.frame?
- What questions do you have from this reading that you would like me to address? [Please be as specific as possible. Don’t just say “everything” or “I don’t understand anything.” Of course, you can ask questions about the reading before class on MS Teams (see link above).]