qfwr
The goal of qfwr
is to provide tutorials and helper tools for my course
"Quantitative Finance with R" offered in Department of Finance, School of
Management, Xiamen University, PRC. I hope it will facilitate and enhance
our teaching and learning experience.
You can install this version of qfwr
from github with:
# install.packages("devtools")
devtools::install_github("yyzeng/qfwr")
Currently there are only a handful of exported functions in qfwr
:
qfwr_ls()
, qfwr_ex()
, qfwr_lab()
and qfwr_key()
.
A basic example will show:
## list all interactive exercises in package *qfwr*
qfwr_ls()
## run an interactive exercise
qfwr_ex("L05")
## run a hands-on lab exercise
qfwr_lab("L05")
## show answer key for lab exercise
qfwr_key("L05", "ex1")
Of course, you can also start qfwr
's interactive exercise in RStudio's Tutorial panel directly once installed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.