Spaces:
Sleeping
Sleeping
library(shiny) | |
shinyUI(fluidPage( | |
# Application title | |
titlePanel("Distribuci贸n Cauchy"), | |
sidebarLayout( | |
sidebarPanel( | |
p("Modifique los par谩metros y | |
observe lo que sucede con la densidad."), | |
br(), | |
numericInput(inputId = "mu", | |
label = HTML("Ingrese el valor de μ:"), | |
min = -10, | |
value = 0, | |
step= 0.1), | |
sliderInput(inputId = "sigma", | |
label = HTML("Ingrese el valor de σ:"), | |
min = 0.01, | |
max = 10, | |
value = 1, | |
step= 0.01, animate = TRUE), | |
tags$br(), | |
sliderInput(inputId = "x.max", | |
label = "Ingrese el m谩ximo valor de x para mostrar | |
alrededoral par谩metro de localizaci贸n:", | |
min = 0.01, | |
max = 100, | |
value = 5, | |
step = 0.1), | |
br(), | |
p("App creada por el Semillero de R de la Universidad Nacional de Colombia:"), | |
tags$a(href="https://srunal.github.io", "https://srunal.github.io") | |
), | |
# Show a plot of the generated distribution | |
mainPanel( | |
h3("Densidad para la distribuci贸n Cauchy", align = "center"), | |
plotOutput("grafico1"), | |
verbatimTextOutput('med_var') | |
) | |
) | |
)) |