首页
\
问答
\
采用ATS是否必须使用xcode 6.3提交新版本?(is adopting ATS is mandatory to submit new builds with xcode 6.3?)
采用ATS是否必须使用xcode 6.3提交新版本?(is adopting ATS is mandatory to submit new builds with xcode 6.3?)
我想使用xcode 6.3为应用程序商店中的现有应用程序提交更新。对于iOS 9版本,必须使用xcode 6.3或任何xcode版本为应用程序调整ATS,并且应用程序更新将被接受,因为它是使用在xcode7发布的时候xcode 6.3?
I want to submit a update for my existing app in app store using xcode 6.3..with iOS 9 release is it mandatory to adapt ATS for apps submitted using xcode 6.3 or any xcode version & will the app update be accepted as it is build using xcode 6.3 while xcode7 has been released?
原文:https://stackoverflow.com/questions/32778669
更新时间:2023-09-23 18:09
最满意答案
参考
ggplot
docs,
- ggplot中的
data
应该只是dataframe
aes_string
参数指的是数据列码
library(shiny) library(lubridate) library(ggplot2) library(scales) library(dplyr) Surveillance <- data.frame( Date = seq(as.Date("2015/1/1"), as.Date("2015/12/31"), "days"), Disease_1 = sample(1:100,365,replace=T), Disease_2 =sample(1:100,365,replace=T)) Surveillance <- Surveillance %>% mutate( Week = format(Date, "%Y-%m-%U")) ui <- fluidPage( dateRangeInput("daterange", "Choice the date", start = min(Surveillance$Date), end = max(Surveillance$Date), min = min(Surveillance$Date), max = max(Surveillance$Date), separator = " - ", format = "dd/mm/yy", startview = 'Week', language = 'fr', weekstart = 1), selectInput(inputId = 'Diseases', label='Diseases', choices=c('Disease_1','Disease_2'), selected='Disease_1'), plotOutput("barplot")) server <- function(input, output) { dateRangeInput<-reactive({ dataset <- subset(Surveillance, Date >= input$daterange[1] & Date <= input$daterange[2]) dataset <- dataset[,c(input$Diseases, "Week")] dataset }) output$barplot <-renderPlot({ ggplot(data=dateRangeInput(), aes_string(x="Week",y=input$Diseases)) + stat_summary(fun.y = sum, geom = "bar",colour="#56B4E9",fill="#56B4E9") + geom_bar(stat="identity") + labs(title=input$Diseases, y ="Number") + theme_classic() + theme(plot.title = element_text(hjust = 0.5)) }) } shinyApp (ui = ui, server = server)
refer to
ggplot
docs,
data
in ggplot should only bedataframe
aes_string
parameters refer to columns of dataCode
library(shiny) library(lubridate) library(ggplot2) library(scales) library(dplyr) Surveillance <- data.frame( Date = seq(as.Date("2015/1/1"), as.Date("2015/12/31"), "days"), Disease_1 = sample(1:100,365,replace=T), Disease_2 =sample(1:100,365,replace=T)) Surveillance <- Surveillance %>% mutate( Week = format(Date, "%Y-%m-%U")) ui <- fluidPage( dateRangeInput("daterange", "Choice the date", start = min(Surveillance$Date), end = max(Surveillance$Date), min = min(Surveillance$Date), max = max(Surveillance$Date), separator = " - ", format = "dd/mm/yy", startview = 'Week', language = 'fr', weekstart = 1), selectInput(inputId = 'Diseases', label='Diseases', choices=c('Disease_1','Disease_2'), selected='Disease_1'), plotOutput("barplot")) server <- function(input, output) { dateRangeInput<-reactive({ dataset <- subset(Surveillance, Date >= input$daterange[1] & Date <= input$daterange[2]) dataset <- dataset[,c(input$Diseases, "Week")] dataset }) output$barplot <-renderPlot({ ggplot(data=dateRangeInput(), aes_string(x="Week",y=input$Diseases)) + stat_summary(fun.y = sum, geom = "bar",colour="#56B4E9",fill="#56B4E9") + geom_bar(stat="identity") + labs(title=input$Diseases, y ="Number") + theme_classic() + theme(plot.title = element_text(hjust = 0.5)) }) } shinyApp (ui = ui, server = server)
相关问答
更多-
有多种方法可以做到这一点,这里有一个: library(shiny) server <- shinyServer(function(input, output) { NULL }) ui <- shinyUI( pageWithSidebar( headerPanel("side-by-side"), sidebarPanel( fluidRow( tags$head( tags$style(type="text/css", "label.c ...
-
嗨,我认为你的第一个解决方案更接近,但你应该至少像这样将APIData分成两个函数 APIdata <- reactive({ # Initial fetch of data from eBird API, with conditionals to reject errant input a <- try(api2(regionCode = as.character(input$region_in), back = as.numeric(input$s ...
-
更新R Shiny中动态创建的selectInput框的选项(Updating choices for dynamically-created selectInput boxes in R Shiny)[2022-05-14]
首先,我为函数newNode和createSliceBox添加了一个新的参数choices 。 newNode <- function(id, parentId, choices = NULL) { ... createSliceBox(id, parentId, choices) ... } createSliceBox <- function(id, parentId, choices) { .. ... -
R-Shiny两个具有部分依赖关系的selectInput变量(R-Shiny two selectInput variables with partial dependency)[2022-07-18]
我认为你需要isolate和updateSelectInput试试 library(shiny) y=c("A","A","A","A","A","A","A","A","A","A", "B","B","B","B","B","B","B","B","B","B", "B","B","B","B","B","C","C","C","C","C") x=c("D","D","D","D","D","E","E","E","E","E", "D","D","D","D","D", ... -
SelectInput in Shiny(SelectInput in Shiny)[2022-03-19]
虽然我无法复制您的数据集,因为我不知道臭氧来自哪里,但我认为您的问题是您不是指这样的“被动”对象: stat_state() 一旦你创建了一个被动对象,除了无效值和输入$变量之外,你需要在变量的末尾用'()'来引用它。 下面是使用一些不同数据集的代码的示例。 希望这可以帮助。 require(shiny) ui <- fluidPage(pageWithSidebar( headerPanel("Population"), sidebarPanel( h3('State'),select ... -
从我看到一个好的开始将是创建一个包含(并从server.R中删除)的global.R文件: global.R myDataRAW<-data.frame( c("mobile","mobile","desktop","desktop","tablet","tablet"), c("Control","Challenger","Control","Challenger","Control","Challenger"), c(34355,3 ...
-
参考ggplot docs, ggplot中的data应该只是dataframe aes_string参数指的是数据列 码 library(shiny) library(lubridate) library(ggplot2) library(scales) library(dplyr) Surveillance <- data.frame( Date = seq(as.Date("2015/1/1"), as.Date("2015/12/31"), "days"), Disease_1 = s ...
-
dateRangeInput是一个较新版本的Shiny而不是CRAN。 您可以使用以下步骤从Shiny的GitHub仓库安装: install.packages('httpuv', repos=c(RStudio='http://rstudio.org/_packages', CRAN='http://cran.rstudio.com')) install.packages('devtools') # if you don't already have devtools installed devtool ...
-
这是一个如何做的例子: library(shiny) ui<-fluidPage( titlePanel(title = "Prueba"), sidebarLayout( sidebarPanel( fileInput('file1', 'Cargar archivo', accept = c( 'text/csv', 'text/comma-separated-values ...
-
实际值是自UNIX时代以来的天数,使用format(input$date[1]) 。 The actual value is days since the unix epoch, use format(input$date[1]).