Displaying 10 results from an estimated 10 matches for "singlemealscode".
2017 Nov 18
2
Complicated analysis for huge databases
Thanks Boris , this was very helpful but I'm struggling with the last part.
1) I combined the first 2 columns :-
library(tidyr)
SingleMealsCode <-unite(MyData, MealsCombinations, c(MealA, MealB), remove=FALSE)
SingleMealsCode <- SingleMealsCode[,-2]
2) I separated this dataframe into different dataframes based on "MealsCombination"
column so R will recognize each meal combination separately :
SeparatedGroupsofmealsCo...
2017 Nov 18
0
Complicated analysis for huge databases
...to worry about :-)
B.
> On Nov 17, 2017, at 7:15 PM, Allaisone 1 <allaisone1 at hotmail.com> wrote:
>
>
> Thanks Boris , this was very helpful but I'm struggling with the last part.
>
> 1) I combined the first 2 columns :-
>
>
> library(tidyr)
> SingleMealsCode <-unite(MyData, MealsCombinations, c(MealA, MealB), remove=FALSE)
> SingleMealsCode <- SingleMealsCode[,-2]
>
> 2) I separated this dataframe into different dataframes based on "MealsCombination"
> column so R will recognize each meal combination separately :
>...
2017 Nov 18
2
Complicated analysis for huge databases
...for me to worry about :-)
B.
> On Nov 17, 2017, at 7:15 PM, Allaisone 1 <allaisone1 at hotmail.com> wrote:
>
>
> Thanks Boris , this was very helpful but I'm struggling with the last part.
>
> 1) I combined the first 2 columns :-
>
>
> library(tidyr)
> SingleMealsCode <-unite(MyData, MealsCombinations, c(MealA, MealB), remove=FALSE)
> SingleMealsCode <- SingleMealsCode[,-2]
>
> 2) I separated this dataframe into different dataframes based on "MealsCombination"
> column so R will recognize each meal combination separately :
>
&...
2017 Nov 18
0
Complicated analysis for huge databases
...On Nov 17, 2017, at 7:15 PM, Allaisone 1 <allaisone1 at hotmail.com> wrote:
>>
>>
>> Thanks Boris , this was very helpful but I'm struggling with the last part.
>>
>> 1) I combined the first 2 columns :-
>>
>>
>> library(tidyr)
>> SingleMealsCode <-unite(MyData, MealsCombinations, c(MealA, MealB), remove=FALSE)
>> SingleMealsCode <- SingleMealsCode[,-2]
>>
>> 2) I separated this dataframe into different dataframes based on "MealsCombination"
>> column so R will recognize each meal combination sepa...
2017 Nov 18
3
Complicated analysis for huge databases
...> On Nov 17, 2017, at 7:15 PM, Allaisone 1 <allaisone1 at hotmail.com> wrote:
>>
>>
>> Thanks Boris , this was very helpful but I'm struggling with the last part.
>>
>> 1) I combined the first 2 columns :-
>>
>>
>> library(tidyr)
>> SingleMealsCode <-unite(MyData, MealsCombinations, c(MealA, MealB), remove=FALSE)
>> SingleMealsCode <- SingleMealsCode[,-2]
>>
>> 2) I separated this dataframe into different dataframes based on "MealsCombination"
>> column so R will recognize each meal combination separ...
2017 Nov 17
0
Complicated analysis for huge databases
Combine columns 1 and 2 into a column with a single ID like "33.55", "44.66" and use split() on these IDs to break up your dataset. Iterate over the list of data frames split() returns.
B.
> On Nov 17, 2017, at 12:59 PM, Allaisone 1 <allaisone1 at hotmail.com> wrote:
>
>
> Hi all ..,
>
>
> I have a large dataset of around 600,000 rows and 600
2017 Nov 18
0
Complicated analysis for huge databases
...laisone 1 <allaisone1 at hotmail.com> wrote:
>>>
>>>
>>> Thanks Boris , this was very helpful but I'm struggling with the last part.
>>>
>>> 1) I combined the first 2 columns :-
>>>
>>>
>>> library(tidyr)
>>> SingleMealsCode <-unite(MyData, MealsCombinations, c(MealA, MealB), remove=FALSE)
>>> SingleMealsCode <- SingleMealsCode[,-2]
>>>
>>> 2) I separated this dataframe into different dataframes based on "MealsCombination"
>>> column so R will recognize each meal...
2017 Nov 19
1
Complicated analysis for huge databases
...laisone 1 <allaisone1 at hotmail.com> wrote:
>>>
>>>
>>> Thanks Boris , this was very helpful but I'm struggling with the last part.
>>>
>>> 1) I combined the first 2 columns :-
>>>
>>>
>>> library(tidyr)
>>> SingleMealsCode <-unite(MyData, MealsCombinations, c(MealA, MealB), remove=FALSE)
>>> SingleMealsCode <- SingleMealsCode[,-2]
>>>
>>> 2) I separated this dataframe into different dataframes based on "MealsCombination"
>>> column so R will recognize each meal...
2017 Nov 18
0
Complicated analysis for huge databases
...allaisone1 at hotmail.com> wrote:
> >>
> >>
> >> Thanks Boris , this was very helpful but I'm struggling with the last part.
> >>
> >> 1) I combined the first 2 columns :-
> >>
> >>
> >> library(tidyr)
> >> SingleMealsCode <-unite(MyData, MealsCombinations, c(MealA, MealB), remove=FALSE)
> >> SingleMealsCode <- SingleMealsCode[,-2]
> >>
> >> 2) I separated this dataframe into different dataframes based on "MealsCombination"
> >> column so R will recognize each m...
2017 Nov 17
3
Complicated analysis for huge databases
Hi all ..,
I have a large dataset of around 600,000 rows and 600 columns. The first col is codes for Meal A, the second columns is codes for Meal B. The third column is customers IDs where each customer had a combination of meals. Each column of the rest columns contains values 0,1,or 2. The dataset is organised in a way so that the first group of customers had similar meals combinations, this