Hi Community!
I'm a R newbie and this is my first post here. I'm using the code below to add a caption to a figure that will be knit into Word. Once I knit the doc, the caption is correctly added to the figure however, this same caption ends up in the Description field of the Alt Text box in Word.
How can I replace the caption that is being written in the Description field by a real alt text, which differently from a caption is supposed to be a more descriptive text of the figure?
Thank you so much! Any insights on how to improve the code or change it completely will be much appreciated.
Laura
{r,echo=FALSE, fig.cap = paste0("Figure 1: figCaption")}
Fig1 <- knitr::include_graphics("my_directory/figure.jpeg")