Dynamic documents in R

rmarkdown
knitr
#1

Hello

I am able to create dynamic tables in html document created using knitr,DT packages in R.
I know how to add filter in datatable() but want to know how to get updated plot by changing the filtered value.
Example: By filtering for different categories in "Species" column of "iris" data,trying to get different scatter plots for the columns "Sepal.Length" and "Sepal.Width".

0 Likes

#2

I think you need to use shiny documents here so that you can redraw your plot based on filtered table

1 Like

#3

Thank you, will go through the chapter.

1 Like