Displaying 5 results from an estimated 5 matches for "diettypes".
Did you mean:
diettype
2018 Feb 25
4
reshaping column items into rows per unique ID
...c
1 b
2 f
2 a
3 j
4 c
4 c
4 f
And I would like to reshape this so I can see the list of DietTypes per customer in rows instead of columns like this :
> MyDf
CustomerID DietType DietType DietType
1 a c b
2 f a
3 j
4 c...
2018 Feb 25
0
reshaping column items into rows per unique ID
...b
> 2 f
> 2 a
> 3 j
> 4 c
> 4 c
> 4 f
>
> And I would like to reshape this so I can see the list of DietTypes per customer in rows instead of columns like this :
>
>> MyDf
> CustomerID DietType DietType DietType
> 1 a c b
> 2 f a
> 3 j
> 4...
2018 Feb 25
0
reshaping column items into rows per unique ID
...b
> 2 f
> 2 a
> 3 j
> 4 c
> 4 c
> 4 f
>
> And I would like to reshape this so I can see the list of DietTypes per
> customer in rows instead of columns like this :
>
> > MyDf
> CustomerID DietType DietType DietType
> 1 a c b
> 2 f a
> 3 j
> 4...
2018 Feb 25
1
reshaping column items into rows per unique ID
...f
> > 2 a
> > 3 j
> > 4 c
> > 4 c
> > 4 f
> >
> > And I would like to reshape this so I can see the list of DietTypes per
> > customer in rows instead of columns like this :
> >
> > > MyDf
> > CustomerID DietType DietType DietType
> > 1 a c b
> > 2 f a
> > 3...
2011 Mar 02
4
Contingency table in R
Hi,
I have a table in R with data I needed and need to create a contingency table out of it. The table I have so far looks like this:
Binger
r
DietType No Yes
Dangerous 15 12
Healthy 52 9
None 134 24
Unhealthy 72 23
These are the error messages that I keep getting whenever I try to get a contingency table. I'm not sure why it won't work