How can I make $size and $stock (that I made) have attr() like the $columns that came with the data
$ CLUSTER :Classes 'labelled', 'integer' atomic [1:90435] 4 4 4 4 4 4 4 4 4 4 ... .. ..- attr(*, "label")= Named chr "Socio-economic level of locality" .. .. ..- attr(*, "names")= chr "CLUSTER" $ size : chr "largest" "largest" "largest" "largest" ... $ stock : num 596 596 596 596 596 ... [[alternative HTML version deleted]] _______________________________________________ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo