Description Usage Arguments Details Author(s) See Also Examples
View source: R/html.unified_agreement.R
Generate a HTML report for an agreement object class unified_agreement
. Contain the plot of data and all agreement statistics. Require package R2HTML
.
1 2 |
result |
The name of an object of class |
dir |
Directory to store the output file. The default is the current working directory. |
file |
File name. |
CSS |
Name of CSS file used. The default is |
... |
Arguments passed to the |
In order to use the CSS style, the CSS file has to be placed in the same directory as the report file. The default is to use the simple CSS file R2HTML.CSS
included in the package R2HTML
.
Yue Yu <yyu@imyy.net>
1 2 3 | data(DCLHb);
ua <- unified.agreement(dataset=DCLHb, var=c("HEMOCUE1","HEMOCUE2","SIGMA1","SIGMA2"), k=2, m=2, CCC_a_intra=0.9943, CCC_a_inter=0.9775, CCC_a_total=0.9775, CP_a=0.9, tran=1, TDI_a_intra=75, TDI_a_inter=150, TDI_a_total=150, error="const", dec=1, alpha=0.05);
html.unified_agreement(ua);
|
Loading required package: R2HTML
Type Statistics CCC Precision Accuracy TDI CP RBS
Intra Estimate 0.9986 0.9986 . 41.1 0.9973 .
95% Conf. Limit 0.9983 0.9983 . 46.2 0.9949 .
Allowance 0.9943 0.9943 . 75 0.9 .
Inter Estimate 0.9866 0.9866 1 127.3 0.9474 .
95% Conf. Limit 0.9825 0.9825 0.9987 145.9 0.9228 .
Allowance 0.9775 . . 150 0.9 .
Total Estimate 0.9859 0.986 1 130.5 0.9412 0.0028
95% Conf. Limit 0.9818 0.9818 0.9987 148.9 0.916 .
Allowance 0.9775 . . 150 0.9 .
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.