Look at how Rmardown works - you are missing the code chunks here. So when calling Df1 in the inline code part, the object does not exist. All the code above have not been ran because not in code chunks and consider as markdown text.
Here is the reference to follow to get started
https://rmarkdown.rstudio.com/lesson-1.html
And a great book
Hope it helps