Question: 5. Let's use the bind rows function in dplyr, as it's pretty. powerful. Let's say you want to add a new row to matcars. for

 5. Let's use the bind rows function in dplyr, as it's

5. Let's use the bind rows function in dplyr, as it's pretty. powerful. Let's say you want to add a new row to matcars. for a new model. Make a new data frame with the following columns: Model = Eizzywig, mpg=31.415, awesomness =11. Now try to make a new data frame where you rbind ntcars and this new data frame. What happens? Don't do this in aymarkdown code chunk - just try it, and then report what happens. It might or might not go as planned (and Rmarkdown can choke unless you add the appropriate argument to the code chunk more on that soon)! Then, make a new data frame here you use dolyz: ikind zowse to combine them. Examine the resulting data frame. What do you see? You can try this in a code chunk for your markdown. How do the two methods differ? Look at their help files for some information that might help you

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!