easystats / performance

:muscle: Models' quality and performance metrics (R2, ICC, LOO, AIC, BF, ...)
https://easystats.github.io/performance/
GNU General Public License v3.0
1.03k stars 94 forks source link

supporting `nls` models in `check_model` #327

Open IndrajeetPatil opened 3 years ago

IndrajeetPatil commented 3 years ago

Feature request from Twitter

library(performance)

require(graphics)
DNase1 <- subset(DNase, Run == 1)
fm1DNase1 <- nls(density ~ SSlogis(log(conc), Asym, xmid, scal), DNase1)

check_model(fm1DNase1)
#> Error in `[.data.frame`(insight::get_data(x, verbose = verbose), , pred, : undefined columns selected

Created on 2021-07-10 by the reprex package (v2.0.0)

zionlion77 commented 4 months ago

nls is currently not supported, right? I could not find a list of supported models in the documentation of the package. I think that would be good to have, so people know what works with check_model() and what doesn't.

Any news on the implementation of nls models? Is this planned at some point?