# NOT RUN {
ret <- Compare3ProperRocFits(1,1) # analyze first two datasets
# }
# NOT RUN {
## takes longer than 5 sec on OSX
ret <- Compare3ProperRocFits(1,2,reAnalyze = TRUE) # analyze first two datasets
x <- ret$allDatasetsResults
str(x[[1]][[1]]) # parameters for dataset 1 trt 1 and rdr 1
str(x[[1]][[2]]) # parameters for dataset 1 trt 1 and rdr 2
str(x[[1]][[10]])# parameters for dataset 1 trt 2 and rdr 5
str(x[[2]][[1]]) # parameters for dataset 2 trt 1 and rdr 1
str(x[[2]][[2]]) # parameters for dataset 2 trt 1 and rdr 2
str(x[[2]][[10]])# parameters for dataset 2 trt 2 and rdr 5
# }
# NOT RUN {
# }
# NOT RUN {
## these examples will cause errors;
##these are intended to illustrate the structure of the functions return object
str(x[[1]][[11]])# error
str(x[[3]][[1]]) # error
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab