mikeblazanin / gcplyr

gcplyr is an R package that facilitates wrangling and analysis of microbial growth curve data
https://mikeblazanin.github.io/gcplyr/
Other
30 stars 2 forks source link

Is extr_val behavior with NA's as intended? #196

Open mikeblazanin opened 9 months ago

mikeblazanin commented 9 months ago

Is it desired that extr_val discards NA's before indexing into the vector?

e.g. extr_val(c(1,2,NA, 4), 3) == 4

mikeblazanin commented 9 months ago

If so, need to modify vignettes to be more clear about when extr_val should be used and when it shouldn't be