The goal of ggccc is to provide a simple function to create a plot
containing the relevant visual and summary statistic information for
interpreting a concordance correlation coefficient (CCC). The key (and
only, thus far) function is gg_ccc
.
Note that in future the function will likely be changed to gg_cc
, with
options added to make it more appropriate for plots that don’t use the
CCC but do use other correlation coefficients.
You can install the current version from GitHub using the following:
devtools::install_github( "MiguelRodo/ggccc" )
This is an example of the output from gg_ccc
.
library(ggccc)
data( test_tbl )
gg_ccc( test_tbl,
x = "Measurement 1",
y = "Measurement 2",
shift_x = 20, shift_y = 4,
table_font_size = 5,
table_font_gap = 3.2 ) +
cowplot::theme_cowplot()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.