Displaying 3 results from an estimated 3 matches for "8le".
Did you mean:
8e
2018 May 26
3
Grouping by 3 variable and renaming groups
...>%
group_by(StorePC, StoreX, StoreY) %>%
summarize(meanPrice=(mean(RetailPrice)))
which results in .
> priceStore_Grps
# A tibble: 15 x 4
# Groups: StorePC, StoreX [?]
StorePC StoreX StoreY meanPrice
<fct> <int> <int> <dbl>
1 CR7 8LE 532714 168302 472.
2 E2 0RY 535652 182961 520.
3 E7 8NW 541428 184515 467.
4 KT2 5AU 517917 170243 522.
5 N17 6QA 533788 189994 523.
Which is fine, but I then want to give each group (e.g. CR7 8LE 532714
168302) a unique identifier (say) Store 1, 2, 3 or som...
2018 May 26
0
Grouping by 3 variable and renaming groups
...>
>
>
> which results in .
>
>
>
>> priceStore_Grps
>
> # A tibble: 15 x 4
>
> # Groups: StorePC, StoreX [?]
>
> StorePC StoreX StoreY meanPrice
>
> <fct> <int> <int> <dbl>
>
> 1 CR7 8LE 532714 168302 472.
>
> 2 E2 0RY 535652 182961 520.
>
> 3 E7 8NW 541428 184515 467.
>
> 4 KT2 5AU 517917 170243 522.
>
> 5 N17 6QA 533788 189994 523.
>
>
>
> Which is fine, but I then want to give each group (e.g. CR7 8LE...
2018 May 26
1
Grouping by 3 variable and renaming groups
...ts in .
>>
>>
>>> priceStore_Grps
>>
>> # A tibble: 15 x 4
>>
>> # Groups:?? StorePC, StoreX [?]
>>
>> ??? StorePC? StoreX StoreY meanPrice
>>
>> ??? <fct>???? <int>? <int>???? <dbl>
>>
>> 1 CR7 8LE? 532714 168302????? 472.
>>
>> 2 E2 0RY?? 535652 182961????? 520.
>>
>> 3 E7 8NW?? 541428 184515????? 467.
>>
>> 4 KT2 5AU? 517917 170243????? 522.
>>
>> 5 N17 6QA? 533788 189994????? 523.
>>
>>
>> Which is fine, but I then want to g...