Displaying 1 result from an estimated 1 matches for "bigshopdata".
2012 Oct 16
2
unique
Hello everybody,
I've got a problem concerning the function unique. I have got a
data.frame "shopdata" with 1000 shop which were evaluated at different
points in time.
With function subset I chose those shops with more then 10 employee and
store it in data.frame "bigshopdata" with 700 shops.
bigshopdata=subset(shopdata, shopdata$employee>10)
Now I use unique(bigshopdata$name) to ensure that each shop name is
only listed ones and not two or three times because of an evaluation at
different dates.
What happens is that unique eliminates also those shops nam...