Within R there are some sample data.frames to use in examples.
- Display the variables and variable classes for the data.frame
mtcars
.
- How many cars are there for each possible choice of number of cylinders.
- Create a new data.frame that adds a column for the new computed variable mpg/cyl.
- What is the mean horsepower (hp) for the cars with 4 gears?