I am a bit puzzled by the following. I have two formulas and would like to check whether they are the same. Here I expect to get FALSE returned.
fm1 <- formula(schades ~ termijn + zipcode + provincie + regionvormgemeente + energielabel + trede)
fm2 <- formula(schades ~ termijn + zipcode + provincie + regionvormgemeente + energielabel)
fm1 == fm2
#> [1] TRUE
identical(fm1, fm2)
#> [1] FALSE
What is the reason that fm1 == fm2
returns TRUE?
Created on 2021-12-17 by the reprex package (v2.0.1)