Translate a xaringan slide into a bookdown chapter

slide2note(infile, outdir = "notes", outfile = basename(infile))

Arguments

infile

Relative path name to the slide RMarkdown fille

outdir

Relative path where bookdown chapter will reside

outfile

(default = `basename(infile)`) name of output file (without full path)

Value

A RMarkdown file formatted as a bookdown chapter

Examples

# slide2note('slides/ggplot.Rmd')