Is there a way to specify the placement of captions for the numbers generated by R using KnitR? I hope that there is something functionally equivalent to the option xtable() caption.placement.
Below is a minimal working example.
\documentclass[12pt, english, oneside]{amsart}
\begin{document}
The caption for Figure \ref{fig:plot} is placed below the figure. Could we place it above, instead?
<<plot, echo=FALSE, fig.cap="Default caption placement is below the figure.">>=
plot(x=0, y=0)
@
\end{document}
source
share