Inserting plots inside code chunks in R Markdowns

I'm trying to add a plot to my R Markdown report, however, when I try to knit what I have yet written I found myself with a disastrous error. I have changed a lot of arguments and parameters in order to show the plot on my Markdown.

I'd like you to help me fix this error so that I can show all the plots I need.

When you knit an Rmd document the code gets executed in a clean environment other than the one you are currently working on so the hours object might not exist there, make sure you are including the code needed to load that object into memory.

If you need more specific help, please provide a proper REPRoducible EXample (reprex) illustrating your issue.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.