ret <- Compare3ProperRocFits(1,1) # analyze first two datasets
# \donttest{
## 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
# }
# \donttest{
## 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
# }
Run the code above in your browser using DataLab