相关疑难解决方法(0)

RShiny ui.r参数丢失时出错

尝试使用以下功能创建用于绘制逻辑回归的ui.r文件:

选择输入(y变量:分解,x变量:温度,湿度,小时)和可变范围滑块.

我收到以下错误: Error in tag("div", list(...)) : argument is missing, with no default

require(shiny)    
shinyUI(pageWithSidebar(
  headerPanel("Home Automation Data Model - TV"),      
  sidebarPanel(
    wellPanel(
      selectInput(
        inputId = "x_var",
        label = "X variable",
        choices = c(
          "Temperature (Celcius)" = "Temp",
          "Humidity (Percentage)" = "Hum",
          "Hours" = "Hrs"
        ),
        selected = "Temperature"
      ),

      uiOutput("x_range_slider")
    ),      

    wellPanel(
      selectInput(
        inputId = "y_var",
        label = "Y variable",
        choices = c("Breakdowns (Yes/No)" = "y"),
      ),

      uiOutput("y_range_slider")
    ),        

    wellPanel(
      p(strong("Model predictions")),
      checkboxInput(inputId = "mod_logistic",    label = "Logistic …
Run Code Online (Sandbox Code Playgroud)

r shiny

9
推荐指数
1
解决办法
2万
查看次数

标签 统计

r ×1

shiny ×1