search for: storex

Displaying 3 results from an estimated 3 matches for "storex".

Did you mean: store
2018 May 26
3
Grouping by 3 variable and renaming groups
ALCON I'm trying to figure out how to rename groups in a data frame after groups by selected variabels. I am using the dplyr library to group my data by 3 variables as follows # group by lat (StoreX)/long (StoreY) priceStore <- LapTopSales[,c(4,5,15,16)] priceStore <- priceStore[complete.cases(priceStore), ] # keep only non NA records priceStore_Grps <- priceStore %>% group_by(StorePC, StoreX, StoreY) %>% summarize(meanPrice=(mean(RetailPrice))) which results in ....
2018 May 26
0
Grouping by 3 variable and renaming groups
...26/2018 2:03 PM, Jeff Reichman wrote: > ALCON > > > > I'm trying to figure out how to rename groups in a data frame after groups > by selected variabels. I am using the dplyr library to group my data by 3 > variables as follows > > > > # group by lat (StoreX)/long (StoreY) > > priceStore <- LapTopSales[,c(4,5,15,16)] > > priceStore <- priceStore[complete.cases(priceStore), ] # keep only non NA > records > > priceStore_Grps <- priceStore %>% > > group_by(StorePC, StoreX, StoreY) %>% > > summari...
2018 May 26
1
Grouping by 3 variable and renaming groups
...: >> ALCON >> >> >> I'm trying to figure out how to rename groups in a data frame after >> groups >> by selected variabels.? I am using the dplyr library to group my data >> by 3 >> variables as follows >> >> >> # group by lat (StoreX)/long (StoreY) >> >> priceStore <- LapTopSales[,c(4,5,15,16)] >> >> priceStore <- priceStore[complete.cases(priceStore), ]? # keep only >> non NA >> records >> >> priceStore_Grps <- priceStore %>% >> >> ?? group_by(StorePC, St...