Exercise: Convert data frame to Tibble

  speed dist
1     4    2
2     4   10
3     7    4
 [ reached 'max' / getOption("max.print") -- omitted 47 rows ]

The data frame cars reports the speed of cars and distances taken to stop. To have a nicer printed output in the console use the as_tibble() function and create a tibble object out of it.


Submit code to see output here.

Create and convert tibbles