(Advanced) R Crash Course, for Actuaries

In two weeks, the third year of the Data Science for Actuaries program will start. I will be there for the introduction to R. The slides are available online (created with slidify)

A markdown is also available. I have to thank Ewen for his help on slidify (especially for the online quizz, and the integration of leaflet maps or the rgl animated graph….)

10 thoughts on “(Advanced) R Crash Course, for Actuaries”

1. Daniel says:

In one of the quizzes the solution is wrong, there is plus sign between 5 and i*j (5+i*j) and not (5*i*j).

s=0; for(i in 1:10) for(j in i:10) s=s+i*i/(5+i*j); s

1. Daniel says:

Another one:
While computing 1:3 * 1:5 there is an error in R
Warning message:
In 1:3 * 1:5 :
longer object length is not a multiple of shorter object length

Also (1:3)*(1:5) yield the same error.

1. Daniel says:

In the quizz about the roots of the polynomial

options(digits=3)
polyroot(c(-1,1,1)) gives 0.618 and -1.618
your solution has the wrong signs.

2. Anthony says:

Awesome!

Can we do quizz in ioslides?

Best regards

3. Krzysztof says:

Hello!
Great presentation!
How did you include googleVis graph in slidify?
When I tried to include Sankey diagram into slidify presentation – nothing happened at all.

This site uses Akismet to reduce spam. Learn how your comment data is processed.