I\'m trying to run the following code in R, but I\'m getting an error.
I\'m not sure what part of the formula is incorrect. Any help would be greatly appreciated.
I got the error because of a clumsy typo:
This errors:
knitr::opts_chunk$seet(echo = FALSE)
Error: attempt to apply non-function
After correcting the typo, it works:
knitr::opts_chunk$set(echo = FALSE)