# Generate ROC curve data

### Description

Generate data suitable for ROC curve plotting from the results of `run.tests`

### Usage

1 | ```
generate.roc(vals, pval = TRUE)
``` |

### Arguments

`vals` |
list, data structure as returned by |

`pval` |
boolean, whether the values in |

### Details

calculates the power via `calculate.power`

for all significance levels from 0 to 1.

### Value

array of values suitable for plotting via `roc.plot`

### Author(s)

Sebastian Dümcke duemcke@mpipz.mpg.de

### See Also

`run.tests`

and `roc.plot`

for plotting

### Examples

1 2 3 4 5 |