Browse Source

Solución de bug al empezar a día 0 con volumen > 0.

master
marcelcosta 9 months ago
parent
commit
459a8001fe
1 changed files with 7 additions and 2 deletions
  1. +7
    -2
      invivos/app.R

+ 7
- 2
invivos/app.R

@ -464,7 +464,10 @@ server <- function(input, output) {
Volume=0,
Observations=""
)
table<-rbind(table, basal)
if (!(0 %in% test$DayPostInoc) | sum(test[test$DayPostInoc == 0,"Volume"],na.rm = T) == 0){
table<-rbind(table, basal)
}
if (input$vacc == "Sí"){
firstoper<- filter(table, !is.na(substr(Observations,1,1)) & substr(Observations,1,1) == "*") %>%
@ -540,7 +543,9 @@ server <- function(input, output) {
Volume=0,
Observations=""
)
table<-rbind(table, basal)
if (!(0 %in% test$DayPostInoc) | sum(test[test$DayPostInoc == 0,"Volume"],na.rm = T) == 0){
table<-rbind(table, basal)
}
if (input$vacc == "Sí"){
firstoper<- filter(table, !is.na(substr(Observations,1,1)) & substr(Observations,1,1) == "*") %>%

Loading…
Cancel
Save