Learn R Programming

Comp2ROC (version 1.0)

roc.curves.boot: Compare curves

Description

This is the function which control the whole package.This uses all functions except the reading ones and rocboot.summary and save.file.summary.

Usage

roc.curves.boot(data, nb = 1000, alfa = 0.05, name, mod1, mod2)

Arguments

data
Data obtained throught read.file or read.manually.introduced
nb
Number of permutations
alfa
Confidance level for parametric methods
name
Name too show in graphs
mod1
Name of Modality 1
mod2
Name of Modality 2

Value

  • This function returns a list with:
  • Area1Area of Curve 1
  • SE1Standard error of Curve 1
  • Area2Area of Curve 2
  • SE2Standard error of Curve 2
  • CorrCoefCorrelation Coeficient
  • diffDifference Between Areas (TS)
  • zstatsZ Statistic
  • pvalue1p-value of Z Statistics
  • TrapArea1Area of curve 1 using the Trapezoidal rule
  • TrapArea2Area of curve 2 using the Trapezoidal rule
  • bootpvaluep-value of bootstrapping
  • nCrossNumber of Crossings
  • ICLB1Confidance Interval: Lower Bound for Curve 1
  • ICUB1Confidance Interval: Upper Bound for Curve 1
  • ICLB2Confidance Interval: Lower Bound for Curve 2
  • ICUB2Confidance Interval: Upper Bound for Curve 2
  • ICLBDiffConfidance Interval: Lower Bound for Difference between areas
  • ICUBDiffConfidance Interval: Upper Bound for Difference between areas

Examples

Run this code
#data(zhang)
#nameE="new_Zhang"
#moda1="mod1" 
#moda2="mod2"
#data=read.manually.introduced(zhang, moda1, TRUE, moda2, TRUE,  "status", TRUE)
#results=roc.curves.boot(data,name=nameE,mod1= moda1,mod2=moda2)

Run the code above in your browser using DataLab