A simple function to use sparklificator in Rmd documents