html.unified_agreement: Generate a HTML Report for Unified Agreement Statistics

Description Usage Arguments Details Author(s) See Also Examples

View source: R/html.unified_agreement.R

Description

Generate a HTML report for an agreement object class unified_agreement. Contain the plot of data and all agreement statistics. Require package R2HTML.

Usage

1
2
## S3 method for class 'unified_agreement'
html(result, dir = getwd(), file = "report", CSS = "R2HTML", ...)

Arguments

result

The name of an object of class unified_agreement, which can be get from function unified.agreement.

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 R2HTML.

...

Arguments passed to the HTMLInitFile method.

Details

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.

Author(s)

Yue Yu <yyu@imyy.net>

See Also

unified.agreement

Examples

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);

Example output

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    .     

Agreement documentation built on May 29, 2017, 3:30 p.m.