How to debug “contrasts can be applied only to factors with 2 or more levels” error? March 28, 2023 by Tarik