Predictors should have the same scale. One way to achieve this is to center and scale each so that each predictor has mean zero and a variance of one.



Try the tidyclust package in your browser

Any scripts or data that you put into this service are public.

tidyclust documentation built on April 11, 2025, 5:47 p.m.