Closed mathesong closed 3 months ago
library(kinfitr) library(tidyverse) data(pbr28) pbr28 <- pbr28 %>% mutate(pfdat = map(blooddata, bd_extract, output="parentFraction")) pbr28 <- pbr28 %>% group_by(PET) %>% mutate(gammafit = map(pfdat, ~metab_gamma(.x$time, .x$parentFraction)))
giving warnings about NaN values. The fits are all fine, but it's from multstart. Should just suppress the warnings on the fit itself.
Added a suppressWarnings wrapper for the function in a64722276afd7d05c84e0988349342ca766ccb7e
giving warnings about NaN values. The fits are all fine, but it's from multstart. Should just suppress the warnings on the fit itself.