-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmodule_zero.R
99 lines (76 loc) · 2.09 KB
/
module_zero.R
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
module_list<-c(
"-- Choose a module --", # module 0 option - About
"Descriptive Analysis", # Module 1
"Predictive Analysis", # Module 2
"Probability Analysis", # Module 3
"Discrete Distribution Functions", # Module 4
"Continuous Distribution Functions", # Module 5
"Sample Distribution Test Statistic", # Module 6
"Interval Estimation", # Module 7
"Non-Parametric Analysis", # Module 8
"Visualizations" # Module 9
)
# =========== About us ====================
module_zero_list<-c("-- First select a module --")
my_info_input<-function(){
tagList(
withTags({
div(class="header", checked=NA,
h1("SKULL"),
h2("The Statistical Calculator"),
br()
)
}),
renderImage({
image_file <- paste("skull.jpeg")
return(list(
src = image_file,
filetype = "image/jpeg"
))
}, deleteFile = FALSE)
)
}
my_info_output<-function(){
tagList(
withTags({
div(class="header", checked=NA,
h2("About Us"),
h3("We are students at DUCS."),
p("This is a statistical calculator."),
br()
#,includeMarkdown("readme.md")
)
}),
renderPrint({
cat("Copyright 2017\n")
cat("\nDeveloper : Jatin Rohilla\nMathematician : Shoaib Rayeen
")
})
)
}
## =================== IMPLEMENTATION STATUS ==========================
#=========== Steps to add a new utility ================
# 1. add core function in module_<no>_core.R, that returns correct result
# 2. Test it thoroughly
#
# 3. go to module_<no>.R and generate appropriate input/ouput.
# Be careful, this is a high priority task
# All required inputs to be name as - my_mean_input_dataOne
#
# 4. go to server.R and make input/output entry of that utility in server logic.
# 5. Test on app
# 6. Add entry in module_zero.R
# ============ GUI ============
# Module 1
# - mean
# - median
# - Mode
# - Range-Min-Max
# =========== CORE ============
# Module 1
# - mean
# - mode
# - median
# - range
# - min
# - max