Class Exercise: Data Types

Write R code to create a scalar, a vector, and a matrix. How do these structures appear if you print them?

Write R code to perform a logical test. Now, assign the results of that logical test to a new variable. What happens when you print that new variable?

Paste your R code into a comment to this page.