I am trying to knit an rmarkdown file to pdf in rstudio. When knitting, the system processes until it comes to the line of code in the picture below:
When the program reaches this line, the following error occurs:
This error occurs wherever I define a new variable like "highPerc". I even tried deleting the variable and substituting its fixed value where it appears in my code. Can you help me understand why this error is occurring, and if there is a proper fix to resolve it? Thank you for all your help.