Learn R Programming

mcca (version 0.7.0)

print.mcca.pdi: Print Method for mcca pdi class

Description

An S3 method for the print generic. It is designed for a quick look at pdi values.

Usage

# S3 method for mcca.pdi
print(x, ...)

Arguments

x

object of class `mcca.pdi`.

further arguments to `print.default`.

Value

An object of class "mcca.pdi" is a list containing at least the following components:

call

the matched call.

measure

the value of measure.

table

the category-specific value of measure.

References

Li, J., Jiang, B. and Fine, J. P. (2013). Multicategory reclassification statistics for assessing Improvements in diagnostic accuracy. Biostatistics. 14(2): 382-394.

Li, J., Jiang, B., and Fine, J. P. (2013). Letter to Editor: Response. Biostatistics. 14(4): 809-810.

Examples

Run this code
# NOT RUN {
data = iris[, 1:4]
label = iris[, 5]
pdi_object=pdi(y = label, d = data, method = "multinom",maxit = 1000,MaxNWts = 2000,trace=FALSE)
print(pdi_object)

# }

Run the code above in your browser using DataLab