interactive plot not rendering with Rmarkdown

When I run the code chunck by chunck in Rstudio, I see the interactive graph in the Rstudio viewr Pane. However, when I knit the file, the output does not contain the plot.

I'm running on Windows and the version of knitr package is 1.28

Thanks for your help.

---
title: "test"
author: ""
date: ""
output: html_document
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE, include=TRUE)
```

```{r}
N = matrix(c(5, 18, 19, 12, 3, 7, 46, 29, 40, 7, 2, 20, 39, 49, 16),
 nrow = 5,

 dimnames = list(
 "Level of education" = c("Some primary", "Primary completed", "Some secondary", "Secondary completed", "Some tertiary"),
 "Category of readership" = c("Glance", "Fairly thorough", "Very thorough")))

```


```{r}
library(flipDimensionReduction)
CorrespondenceAnalysis(N)
```

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.