[R-sig-Geo] $columns that I added to a data frame don't have attr(*, "label")
Brandon Payne
payneb at post.bgu.ac.il
Tue Aug 8 16:23:03 CEST 2017
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]]
More information about the R-sig-Geo
mailing list