Skip to content

Commit

Permalink
Mend a little bug the new blooddata code
Browse files Browse the repository at this point in the history
  • Loading branch information
mathesong committed Aug 21, 2024
1 parent 0cae832 commit dd62606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/kinfitr_blooddata.R
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ bd_extract_blood <- function(blooddata,

# For pred and interp, we want interpolation to start at 1 at time 0
if(!(0 %in% blood$time)) {
blood <- rbind(c(0,0, "Discrete", "Inferred", 0),
blood <- rbind(c(0,0, "Discrete", 0),
blood) %>%
dplyr::mutate(dplyr::across(c(time, activity, plasma), as.numeric))
}
Expand Down

0 comments on commit dd62606

Please sign in to comment.