【问题标题】:ERROR: object 'input' not found错误:找不到对象“输入”
【发布时间】:2018-02-04 04:29:58
【问题描述】:

我试图在Avg_RatingCost_per_plate 之间绘制散点图,但出现错误:“找不到对象'输入'”。但是,当我在控制台中运行相同的命令时,它会给出正确的输出。

output$prosv <- renderPlotly(
    result <- pros%>%filter(pros$Avg_Rating <=as.numeric(input$rating)),   
    plot_ly(result,x=~Avg_Rating,y=~Cost_per_plate,type = 
    "scatter",mode="markers")
    )

【问题讨论】:

标签: r shiny


【解决方案1】:

我有一个小错误,因为我错过了 renderPlotly() 函数中的花括号。

【讨论】:

    猜你喜欢
    • 2015-04-13
    • 1970-01-01
    • 2015-06-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-09-14
    • 1970-01-01
    • 2017-09-28
    相关资源
    最近更新 更多