pPerf: Definition for S3 class 'pPerf'

Description Usage Arguments Value Examples

View source: R/ClassMethod-Pi.r

Description

pPerf mush have following components: PRS, AUROC, Fmax, ROC_perf, PR_perf, Pred_obj.

Usage

1
2
3
4
pPerf(PRS, AUROC, Fmax, ROC_perf, PR_perf, Pred_obj)

## S3 method for class 'pPerf'
print(x, ...)

Arguments

PRS

a data frame

AUROC

a scalar

Fmax

a scalar

ROC_perf

a ROCR 'performance' object for ROC curve

PR_perf

a ROCR 'performance' object for PR curve

Pred_obj

a ROCR 'prediction' object for other performance measures

x

an object of class pPerf

...

other parameters

Value

an object of S3 class pPerf

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
# Load the library
library(Pi)

## End(Not run)
RData.location <- "http://galahad.well.ox.ac.uk/bigdata"
## Not run: 
pPerf(PRS, AUROC, Fmax, ROC_perf, PR_perf, Pred_obj)

## End(Not run)

Pi documentation built on Nov. 29, 2021, 3 p.m.