rra.print {iRRA}R Documentation

Print the resulting RRA

Description

Taking as input a "rra_result" object, it will print the RoI's borders information and the resulting Ratio of Relevant Areas (RRA)

Usage

  rra.print(rra_result)

Arguments

rra_result

The "rra_result" object to print

Details

This function will print the meaning of the Region of Interest selected; it will highlight what performance values are matched by all the points within the RoI space.

If rra_result represents the AUC of the ROC curve it will just print the resulting Area Under the Curve

See Also

rra

Examples

## Not run: 
# rra_result <- rra(roc_x, roc_y, AP, AN, fallout = TRUE, c_fallout = 0.6, phi = TRUE),
rra.print(rra_result) will print:
> The generated Region of Interest (RoI) represents the points in the ROC space that have:
> A better fallout value than 0.6,
> A better phi value than 0.4.
> The Ratio of Relevant Areas (RRA) is equal to [value]

# If rra_result <- rra(roc_x, roc_y, AP, AN),
> The AUC of the ROC curve is equal to [AUC value]

# rra(roc$x, roc$y, app, ann, fallout = TRUE, c_fallout = 0.6, fm = TRUE, c_fm = "uni", p_fm = 0.4)
> The generated Region of Interest (RoI) represents the points in the ROC space that have:
> A better fallout value than 0.6,
> A better FM value than a uniform random policy ("uni") with p(m) = 0.4,
> The Ratio of Relevant Areas (RRA) is equal to [value]

## End(Not run)

[Package iRRA version 0.1.0 Index]