rra.average {iRRA} | R Documentation |
This function averages the RRA values of multiple "rra_result" objects. It will also returns the median value(s) and the standard deviation
rra.average(rra_results, print = TRUE)
rra_results |
The list of "rra_result" objects. Note that |
print |
If the user wants to print the result |
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
## 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)