View source: R/plotRunMonitoring.R
create2DHistogram | R Documentation |
Also out of a problematic (javascript-wise) data where we DO HAVE small fractional problem on the x,y axis.
create2DHistogram(run2Dmeta, run2Ddata)
run2Dmeta |
metadata about the plot |
run2Ddata |
dataframe with the plot data |
highcharts 2D histogram plot
## Not run:
# Get both metadata and data via two separate queries
```{sql connection = conn, output.var = "run2Dmeta", echo = FALSE}
select * From getRun2DHistogramMeta(?inRunId,
'Stat G err: mean VS val: st. dev. \[counts\] \(EE')
```
```{sql connection = conn, output.var = "run2Ddata", echo = FALSE}
select * From getRun2DHistogramDataIdx(?inRunId,
'Stat G err: mean VS val: st. dev. \[counts\] \(EE')
```
```{r hist2d_g_stdev_vs_meanerr, message=FALSE}
# plot.
create2DHistogram(run2Dmeta,run2Ddata)
```
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.