Visualisation of two by two tables for diagnostic test evaluation
The eaiest way is:
The package should install and then you should be able to do e.g.:
library("vis2x2")
draw_2x2(matrix(1:4, nrow=2))
launch_shiny("example")
To edit code:
Running launch_shiny() launches the shiny app in the installed version of the package, which is not necessarily the same as the GitHub repository unless you have re-installed the package since you last made a change. If you want to test small changes to a shiny app without installing the package, you can do e.g.:
library('shiny')
runApp(appDir="inst/shiny/example")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.