Corrección firstoper en sección survival.
This commit is contained in:
+2
-2
@@ -645,9 +645,9 @@ server <- function(input, output) {
|
||||
}else{
|
||||
firstoper<- filter(table, !is.na(substr(Observations,1,1)) & substr(Observations,1,1) == "*") %>%
|
||||
pull(DayPostInoc) %>% min(na.rm = T)
|
||||
print(firstoper)
|
||||
if (firstoper == Inf){firstoper<-c()}
|
||||
|
||||
if (input$operated == TRUE & nrow(firstoper) > 0){
|
||||
if (input$operated == TRUE & length(firstoper) > 0){
|
||||
table<-table %>% filter(DayPostInoc < firstoper)
|
||||
}else{
|
||||
deadmice<-filter(table, !is.na(substr(Observations,1,1)) & substr(Observations,1,1) == "+") %>%
|
||||
|
||||
Reference in New Issue
Block a user