rra.average {iRRA}R Documentation

Averaging multiple RRA values

Description

This function averages the RRA values of multiple "rra_result" objects. It will also returns the median value(s) and the standard deviation

Usage

  rra.average(rra_results, print = TRUE)

Arguments

rra_results

The list of "rra_result" objects. Note that rra_results must be a "list" object

print

If the user wants to print the result

Details

This function returns the average value together with the standard deviation and the median value(s).

If print = TRUE it will print all three values

See Also

rra

Examples

## Not run: 
#Considering rra_result_1 <- rra(roc_x, roc_y, AP, AN, phi = TRUE, fallout = 0.5),
#and rra_result_2 <- rra(roc2_x, roc2_y, AP, AN, phi = TRUE, fallout = 0.5)
#
rra.average(list(rra_result_1,rra_result_2))
> The average RRA is [value]. Standard deviation = [value], median = [value]

## End(Not run)

[Package iRRA version 0.1.0 Index]