Spaces:
Sleeping
Sleeping
FreddyHernandez
commited on
Delete ui.R
Browse files
ui.R
DELETED
@@ -1,103 +0,0 @@
|
|
1 |
-
library(shiny)
|
2 |
-
library(markdown)
|
3 |
-
|
4 |
-
shinyUI(pageWithSidebar(
|
5 |
-
headerPanel(title=HTML("Prueba de hip贸tesis para la varianza
|
6 |
-
σ<sup>2</sup>"),
|
7 |
-
windowTitle="PH varianza"),
|
8 |
-
sidebarPanel(
|
9 |
-
h5('Esta aplicaci贸n realiza la prueba de hip贸tesis para la
|
10 |
-
varianza de una variable cuantitativa con distribuci贸n normal.'),
|
11 |
-
|
12 |
-
h6('La aplicaci贸n usa una base de datos de ejemplo pero el usuario
|
13 |
-
puede cargar su propia base de datos.'),
|
14 |
-
|
15 |
-
fileInput(inputId='file1',
|
16 |
-
label='Use el siguiente bot贸n para cargar su base de datos.',
|
17 |
-
accept = c(
|
18 |
-
'text/csv',
|
19 |
-
'text/comma-separated-values',
|
20 |
-
'text/tab-separated-values',
|
21 |
-
'text/plain',
|
22 |
-
'.csv',
|
23 |
-
'.tsv'
|
24 |
-
)),
|
25 |
-
|
26 |
-
checkboxInput(inputId='header',
|
27 |
-
label='驴Tiene encabezado la base de datos?',
|
28 |
-
value=TRUE),
|
29 |
-
|
30 |
-
selectInput(inputId="sep",
|
31 |
-
label = "驴Cu谩l es la separaci贸n de los datos?",
|
32 |
-
choices = list(Tab='\t', Comma=',',
|
33 |
-
Semicolon=';', 'Space'=' '),
|
34 |
-
selected = ';'),
|
35 |
-
|
36 |
-
selectInput(inputId="variable",
|
37 |
-
label="Elija la variable cuantitativa para realizar
|
38 |
-
la prueba de hip贸tesis.",
|
39 |
-
choices=""),
|
40 |
-
|
41 |
-
numericInput(inputId='sigma20',
|
42 |
-
label=HTML("Ingrese el valor de referencia
|
43 |
-
σ<sup>2</sup><sub>0</sub>
|
44 |
-
para probar H<sub>0</sub>:
|
45 |
-
σ<sup>2</sup> = σ
|
46 |
-
<sup>2</sup><sub>0</sub>"),
|
47 |
-
value=20, min=0, step=0.1),
|
48 |
-
|
49 |
-
selectInput(inputId="h0",
|
50 |
-
label=HTML("Elija la hip贸tesis alternativa
|
51 |
-
< , ≠ o >"),
|
52 |
-
choices=list("Menor" = "less",
|
53 |
-
"Diferente" = "two.sided",
|
54 |
-
"Mayor" = "greater"),
|
55 |
-
selected = "two.sided"),
|
56 |
-
|
57 |
-
sliderInput(inputId='alfa',
|
58 |
-
label=HTML("Opcional: elija un nivel de confianza para
|
59 |
-
construir el intervalo de confianza para
|
60 |
-
la varianza σ<sup>2</sup>"),
|
61 |
-
min=0.90, max=0.99,
|
62 |
-
value=0.95, step=0.01),
|
63 |
-
|
64 |
-
img(src="logo.png", height = 60, width = 120),
|
65 |
-
img(src="udea.png", height = 25, width = 70),
|
66 |
-
img(src="cua.png", height = 40, width = 110),
|
67 |
-
br(),
|
68 |
-
tags$a(href="https://srunal.github.io", "https://srunal.github.io")
|
69 |
-
|
70 |
-
),
|
71 |
-
|
72 |
-
mainPanel(
|
73 |
-
tabsetPanel(type = "pills",
|
74 |
-
|
75 |
-
tabPanel(title="Resultados",
|
76 |
-
h5('A continuaci贸n el histograma, la densidad,
|
77 |
-
el QQplot
|
78 |
-
y valor-P de la prueba de normalidad
|
79 |
-
Kolmogorov-Smirnov para la muestra.'),
|
80 |
-
plotOutput("appPlot",
|
81 |
-
width='500px',
|
82 |
-
height='300px'),
|
83 |
-
h4("- Tabla de resumen con los estad铆sticos muestrales:"),
|
84 |
-
tableOutput('statistic'),
|
85 |
-
|
86 |
-
h4("- Resultados de la prueba de hip贸tesis:"),
|
87 |
-
textOutput("resul1"),
|
88 |
-
|
89 |
-
h4(HTML("- Intervalo de confianza para la varianza
|
90 |
-
σ<sup>2</sup>:")),
|
91 |
-
textOutput("resul2")
|
92 |
-
|
93 |
-
),
|
94 |
-
|
95 |
-
tabPanel("Datos", "A continuaci贸n los datos que est谩 usando
|
96 |
-
la aplicaci贸n.",
|
97 |
-
uiOutput('inputData')),
|
98 |
-
|
99 |
-
tabPanel("Teor铆a", includeHTML("include.html"))
|
100 |
-
)
|
101 |
-
)
|
102 |
-
|
103 |
-
))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|