easystats / insight

:crystal_ball: Easy access to model information for various model objects
https://easystats.github.io/insight/
GNU General Public License v3.0
395 stars 39 forks source link

Cope with `1/y` #897

Closed strengejacke closed 3 months ago

strengejacke commented 3 months ago
library(insight)
data(iris)
m <- lm(1 / Sepal.Length ~ Species, data = iris)

find_terms(m)
#> $response
#> [1] "1/Sepal.Length"
#> 
#> $conditional
#> [1] "Species"

find_transformation(m)
#> [1] "inverse"

Created on 2024-06-26 with reprex v2.1.0