The response has five or fewer unique values【原因】目的変数の型がlogicalになっていたため【対処】目的変数の型をfactorにするas.factorを目的変数にのみ仕様でok