fit_GUI_dashboard: Fit with GUI via Shiny (Simple version)

Description Usage Arguments Details Value Author(s) Examples

View source: R/fit_GUI_dashboard.R

Description

simple is vest

Usage

1
2
3
4
5
6
7
fit_GUI_dashboard(
  DF = data.frame(h = c(97L, 32L, 31L), f = c(1L, 14L, 74L)),
  NL.max = 1111,
  NI.max = 1111,
  NL.initial = 259,
  MCMC.chains.max = 4
)

Arguments

DF

A dataframe as an initial data to be fitted a model

NL.max

max number of bins indicating the maximal number in which the number of lesions can move

NI.max

max number of bins indicating the maximal number in which the number of imagegs can move

NL.initial

Natural number indicating the initial number of lesions, Default value =259.

MCMC.chains.max

max number of bins indicating number of MCMC chains

Details

First, please execute, then user will understand what it is. This function is the one of the most important function in this package. I do not assume that the user is familiar with R script but FROC analysis. So, I made this function to provide the Graphical User Interface (GUI) for users. I hope it helps someone in the world.

Value

None

Author(s)

Issei Tsunoda

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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
## Not run: 
## Only run examples in interactive R sessions
if (interactive()) {

#========================================================================================
#            1)           Use the default User Interface
#========================================================================================
#'

 #No need to consider the variables, it is sufficient in  default values.


 #fit_GUI_dashboard()




#========================================================================================
#            2)           Change the  User Interface
#========================================================================================


#  We can change the max imput of the number of lesions and the max of number of images
#

 #fit_GUI_dashboard(NL.max = 2222,
 #               NI.max = 3333)





#========================================================================================
#            3)           Change the  Default value
#========================================================================================



#  fit_GUI_dashboard(
#  DF= data.frame( h=dataList.Chakra.4$h,
#                  f=dataList.Chakra.4$f
#                )
#                )

# Or equivalently,

#  fit_GUI_dashboard(
#             DF= data.frame(
#             h = c(160,  25,  15,   7),
#             f = c(  8,  16,  18,  13)
#                          )
#             )


#========================================================================================
#            4)           Change the user Imterface
#========================================================================================



#fit_GUI_dashboard(

#           DF= data.frame(
#               h = c(160,  25,  15,   7),
#               f = c(  8,  16,  18,  13)
#                 ),

#                 NL.max = 1192,
#                 NI.max = 794,
#                 MCMC.chains.max = 6

#               )





}### Only run examples in interactive R sessions



## End(Not run)

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