KnitRBootstrap: scaling options, sketch size and plot size

Is it possible to change the default zoom level when using knitRBootstrap?

I know that in the settings of knitRbootstrap I can change the size of the sketch, but this does not allow for more flexibility, since there is a maximum value:

knit_bootstrap_md(input=inputFile, output=outputFile, boot_style = 'cerulean', code_style="Google Code", chooser=NULL, thumbsize = 9, show_code=FALSE) 

I like the functions of knitRbootsrap and prefer it over regular knitR, but I'm not sure the easiest way to adjust the image size so that some graphs / charts are displayed larger

+2
source share
1 answer

The current version of knitrBootstrap for github has a chunk parameter for the thumbnail size of the image using bootstrap.thumbnail.size . They correspond to the parameters of the boot grid , by default it is col-md-6 .

The new version is not yet available in CRAN, but you can easily install it using devtools. install.packages('devtools') library(devtools) install_github('jimhester/knitrBootstrap')

See the knitrBootstrap github page for details on all options and using the new version.

+2
source

All Articles