malucalle / coda4microbiome

9 stars 0 forks source link

coda_glmnet_longitudinal #3

Closed mariamaseng closed 4 months ago

mariamaseng commented 5 months ago

Error message; Error in approx(curve$time, curve$yy, val) : need at least two non-NA values to interpolate

Dont understand what this error means. The function explore_lr_longitudinal works with output, making be wonder if this is not an input or results-related issue. Any idea what the problem is?

Thank you for a really cool package!

mariamaseng commented 4 months ago

Just to add, I am getting out the plots (lambda, prediction, signature), so it looks like there are results there which confuses me further. image

mariamaseng commented 4 months ago

Update: i changed from lamda = lamda.min, to lambda = -4 (as it looks like the best based on the photo i got from the failed run...) and then it works!