Under the hood, this creates the following code: -īonus tip: Most find it easier to use the GUI. Next, let’s add some options to the same code. We will now create a code chunk without chunk options. Here you place the narrative of the document. Then we will compute the number of rows for that dataset using inline R code. Let’s take a look at both ways of including R code in our document.įirst, we will print the first few rows of mtcars using different chunk options.
0 Comments
Leave a Reply. |