ROC_data_creator2: Synthesize ROC data

Description Usage Arguments Value Examples

View source: R/ROC.R

Description

Synthesize ROC data

Usage

1
2
3
4
5
6
7
8
ROC_data_creator2(
  Number_of_cases = 100,
  Number_of_non_cases = 100,
  prob_case = c(0.1, 0.2, 0.3, 0.5),
  prob_non_case = c(0.4, 0.3, 0.2, 0.1),
  name = FALSE,
  seed = NA
)

Arguments

Number_of_cases

Number_of_cases

Number_of_non_cases

Number_of_non_cases

prob_case

prob_case

prob_non_case

prob_non_case

name

A logical, whether name is given or not.

seed

An integer, indicating seed

Value

A list, indicatin ROC data

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  d<-ROC_data_creator2()

## Not run: 
f<-fit_srsc_ROC(d,ite  = 111, summary = FALSE,  cha = 1,)
rstan::check_hmc_diagnostics(f)
rstan::traceplot(f)
draw_ROC_Curve_from_fitted_model(f)

## End(Not run)




d<-ROC_data_creator2(
  Number_of_cases = 100,
  Number_of_non_cases = 100,
  prob_case = c(0.1,0.2,0.3,0.5,0.8,0.9),
  prob_non_case = c(0.4,0.3,0.2,0.1,0.1,0.1)
  )
## Not run: 
f<-fit_srsc_ROC(d,ite  = 111, summary = FALSE,  cha = 1,)
rstan::check_hmc_diagnostics(f)
rstan::traceplot(f)
draw_ROC_Curve_from_fitted_model(f)

## End(Not run)

BayesianFROC documentation built on Jan. 23, 2022, 9:06 a.m.