princals function

Categorical principal component analysis (PRINCALS).