私はui.Rにこのコードを持っている:数値入力はRに先験的に動作しない光沢のある
tabPanel("Experiment 1",sidebarPanel(numericInput("supp", "Vložte hodnotu support", 0.0001, min = 0.0001, max = 0.8, step = 0.0001),
numericInput("conf", "Vložte hodnotu confidence", 0.0001, min = 0.0001, max = 0.8, step = 0.0001)),
とserver.Rでこのコード:
rules.all <- apriori(d, parameter=list(support=input$supp, confidence=input$conf))
library(arulesViz)
output$scatterPlot = renderPlot(
plot(rules.all, method = 'scatterplot')
)
私はこのエラーがあります: numericInputのサポートと信頼度の値を変更すると、R shinyは散布図を表示しませんでした。なぜそれは動作しませんでしたか? お願いします。