fitted | R Documentation |
Takes a meta4diag
object produced by meta4diag()
and returns the estimated study specified accuracies, such as sensitivity, specificity, odds ratios and likelihood ratios for each study.
## S3 method for class 'meta4diag'
fitted(object, accuracy.type = "sens",...)
object |
A |
accuracy.type |
A string specifying the accuracy type. Options are "sens", "TPR", "spec", "TNR", "FPR", "FNR", "LRpos", "LRneg", "RD", "LLRpos", "LLRneg", "LDOR", and "DOR".
|
... |
Arguments to be passes to methods. |
A data frame with the estimated mean, standard deviation and the corresponding quantiles, which are specified by user when the user runs the main function meta4diag()
, of the accuracies of each sudy.
Jingyi Guo
## Not run:
if(requireNamespace("INLA", quietly = TRUE)){
require("INLA", quietly = TRUE)
data(Catheter)
res <- meta4diag(data = Catheter, nsample=2000)
fitted(res, accuracy.type="sens")
fitted(res, accuracy.type="DOR")
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.