문제

Last year I was working on a project concerning the creation of R-graphics. I remember that, during my research then, I came across something to visualize interactive R-graphics on a webpage. Unfortunately, I don't remember the name.

Does anyone know a good package/... to achieve this? I would like to get data from a database, use this data to generate a plot using R, and then visualize the plot on a webpage.

도움이 되었습니까?

해결책

There are two ways of doing this. You could either use an direct method or an indirect method. For the indirect method you generate the javascript in your R script and pas it on to PHP (which is a lot of work but gives really nice graphs):

direct method

Indirect

Personally I'm most excited about epivizr which makes use of D3.js

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top