Data Science Desktop Survival Guide
by Graham Williams
The Shape of the Dataset
20180721 Once the dataset is loaded we want to get a basic idea of what it looks like—its shape. Being an extended data frame (what we call a tibble), we can display the data as a tibble simply by printing the data referred to by the variable name.
# Print the dataset in a human useful way.
We observe that dataset consists of 366 observations of 24 variables. The enhanced nature of the data frame that representing it as a tibble brings to us is that the printout is more informative. The first few observations are shown with a subset of the variables followed by a list of all of the other variables.