Skip to content

Commit e01e57c

Browse files
committed
Practical 2. Remove 3D interactive plot for CRAN checks. Keep it for web.
1 parent 4f43ba8 commit e01e57c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vignettes/p2normal.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ L(\mu,\, \sigma^2 \mid \mathcal D)=& f(y_1, y_2, \ldots, y_{15} \mid \mu,\, \sig
298298
where $f(y_1, y_2, \ldots, y_{15})$ is the joint density of the $Y_i$'s given $\mu$ and $\sigma^2$ evaluated in $\mathcal D$. Since $Y_i$'s are independent given $\mu$ and $\sigma^2$, the joint density is the product of the marginal densities. In our case, the graphic of the likelihood function of $(\mu,\, \sigma^2)$ will be
299299

300300

301-
```{r likelihood-3d, fig.cap = cap, echo = FALSE}
301+
```{r likelihood-3d, fig.cap = cap, echo = FALSE, eval = !Sys.getenv("_R_CHECK_CRAN_INCOMING_")}
302302
## Note: plotly breaks LaTeX rendering in rmarkdown
303303
## Need to enclose output in a iframe.
304304
## https://github.com/plotly/plotly.R/blob/master/inst/examples/rmd/MathJax/index.Rmd

0 commit comments

Comments
 (0)