Spaces:
Runtime error
Runtime error
File size: 342 Bytes
4330865 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
vars <- setdiff(names(iris), "Species")
pageWithSidebar(
headerPanel('Iris k-means clustering'),
sidebarPanel(
selectInput('xcol', 'X Variable', vars),
selectInput('ycol', 'Y Variable', vars, selected = vars[[2]]),
numericInput('clusters', 'Cluster count', 3, min = 1, max = 9)
),
mainPanel(
plotOutput('plot1')
)
) |