C.1 긴 문장의 캡션 달기
다음과 같이 그림의 제목이 긴 경우 그 문장 앞에 (ref:라벨명)을 기입한다.
(ref:foo) A scatterplot of the data `cars` using **base** R graphics.
그리고 R 청크에 “fig.cap = ‘(ref:foo
)’”을 삽입해 준다.
plot(cars) # a scatterplot

Figure C.1: A scatterplot of the data cars
using base R graphics.