From 9969ad47be1d8a4b6875be215dcd3d99280c2d05 Mon Sep 17 00:00:00 2001 From: 57f5b24a4a876d57f0eeecd33b98e06a <57f5b24a4a876d57f0eeecd33b98e06a@app-learninglab.inria.fr> Date: Fri, 27 Oct 2023 08:53:15 +0000 Subject: [PATCH] Update toy_document_fr.Rmd --- module2/exo1/toy_document_fr.Rmd | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/module2/exo1/toy_document_fr.Rmd b/module2/exo1/toy_document_fr.Rmd index 2ef98ca..6727ff8 100644 --- a/module2/exo1/toy_document_fr.Rmd +++ b/module2/exo1/toy_document_fr.Rmd @@ -34,4 +34,7 @@ ggplot(df, aes(x=X,y=Y,color=Accept)) + geom_point(alpha=.2) + coord_fixed() + t Il est alors aisé d'obtenir une approximation (pas terrible) de $\pi$ en comptant combien de fois, en moyenne, $X^2 + Y^2$ est inférieur à 1 : ```{r} 4*mean(df$Accept) -``` \ No newline at end of file +``` +```{r} +knit +``` -- 2.18.1