Description Usage Arguments Value Author(s) See Also Examples
View source: R/unified.agreement.R
The unified approach calculates the agreement statistics for both continuous and categorical data to cover multiple readings from each of the n subjects.
1 | unified.agreement(dataset, var = NA, k, m, CCC_a = 0.9775, CCC_a_intra = 0.995, CCC_a_inter = 0.9775, CCC_a_total = 0.9775, CP_a = 0.9, TDI_a = 150, TDI_a_intra = 75, TDI_a_inter = 150, TDI_a_total = 150, tran = 0, error = "prop", dec = 4, alpha = 0.025, iter = 35, toe = 1e-10)
|
dataset |
Name of your dataset. |
var |
Name of the dependent variables used in the dataset, if it is not specified, all the variables in the dataset will be used. |
k |
Number of methods/raters/instruments/assay, etc. |
m |
Number of replications for each methods/raters/instruments/assay, etc. |
CCC_a |
CCC allowance when there is no replications, the default is |
CCC_a_intra |
Intra CCC allowance. |
CCC_a_inter |
Inter CCC allowance. |
CCC_a_total |
Total CCC allowance. |
CP_a |
CP allowance for continuous data. |
TDI_a |
TDI allowance when there is no replications for continuous data. The default is |
TDI_a_intra |
Intra TDI allowance for continuous data. |
TDI_a_inter |
Inter TDI allowance for continuous data. |
TDI_a_total |
Total TDI allowance for continuous data. |
tran |
If transformation is used for the dataset. |
error |
|
dec |
Significant digits after the decimal point printed for TDI when the |
alpha |
100(1- |
iter |
Number of iterations in the GEE step. The default is |
toe |
The error tolerance of the GEE iteration. The default is |
An object of class unified_agreement
is returned, which contains all the estimated statistics and their confidence limits.
Yue Yu <yyu@imyy.net>
agreement
, summary.unified_agreement
, html.unified_agreement
1 2 3 |
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.