# simple estimation on iris data, clustering by "Species"
res = femlm(Sepal.Length ~ Sepal.Width + Petal.Length +
Petal.Width | Species, iris)
# the coefficients of the variables:
coef(res)
# the cluster coefficients:
getFE(res)
Run the code above in your browser using DataLab